Class Assessments.Assessment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
org.mlflow.api.proto.Assessments.Assessment.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Assessments.AssessmentOrBuilder
Enclosing class:
Assessments.Assessment

public static final class Assessments.Assessment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder> implements Assessments.AssessmentOrBuilder
 Data and metadata for an assessment of a trace.
 
Protobuf type mlflow.assessments.Assessment
  • Method Details

    • 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

      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

      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, 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, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
    • mergeFrom

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

    • 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 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:
      IOException
    • getValueCase

      public Assessments.Assessment.ValueCase getValueCase()
      Specified by:
      getValueCase in interface Assessments.AssessmentOrBuilder
    • clearValue

      public Assessments.Assessment.Builder clearValue()
    • 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 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(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 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(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 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(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 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(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.
    • getSource

      public Assessments.AssessmentSource getSource()
       The source this assessment came from.
       
      optional .mlflow.assessments.AssessmentSource source = 5;
      Specified by:
      getSource in interface Assessments.AssessmentOrBuilder
      Returns:
      The source.
    • setSource

       The source this assessment came from.
       
      optional .mlflow.assessments.AssessmentSource source = 5;
    • setSource

       The source this assessment came from.
       
      optional .mlflow.assessments.AssessmentSource source = 5;
    • mergeSource

       The source this assessment came from.
       
      optional .mlflow.assessments.AssessmentSource source = 5;
    • clearSource

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

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

      public Assessments.AssessmentSourceOrBuilder getSourceOrBuilder()
       The source this assessment came from.
       
      optional .mlflow.assessments.AssessmentSource source = 5;
      Specified by:
      getSourceOrBuilder in interface Assessments.AssessmentOrBuilder
    • 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.
    • getFeedback

      public Assessments.Feedback getFeedback()
       The feedback on the trace from this assessment.
       
      .mlflow.assessments.Feedback feedback = 9;
      Specified by:
      getFeedback in interface Assessments.AssessmentOrBuilder
      Returns:
      The feedback.
    • setFeedback

       The feedback on the trace from this assessment.
       
      .mlflow.assessments.Feedback feedback = 9;
    • setFeedback

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

       The feedback on the trace from this assessment.
       
      .mlflow.assessments.Feedback feedback = 9;
    • 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;
    • getFeedbackOrBuilder

      public Assessments.FeedbackOrBuilder getFeedbackOrBuilder()
       The feedback on the trace from this assessment.
       
      .mlflow.assessments.Feedback feedback = 9;
      Specified by:
      getFeedbackOrBuilder in interface Assessments.AssessmentOrBuilder
    • 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.
    • getExpectation

      public Assessments.Expectation getExpectation()
       A representation of the guidelines and/or expected response from the agent.
       
      .mlflow.assessments.Expectation expectation = 10;
      Specified by:
      getExpectation in interface Assessments.AssessmentOrBuilder
      Returns:
      The expectation.
    • setExpectation

       A representation of the guidelines and/or expected response from the agent.
       
      .mlflow.assessments.Expectation expectation = 10;
    • setExpectation

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

       A representation of the guidelines and/or expected response from the agent.
       
      .mlflow.assessments.Expectation expectation = 10;
    • 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;
    • getExpectationOrBuilder

      public Assessments.ExpectationOrBuilder getExpectationOrBuilder()
       A representation of the guidelines and/or expected response from the agent.
       
      .mlflow.assessments.Expectation expectation = 10;
      Specified by:
      getExpectationOrBuilder in interface Assessments.AssessmentOrBuilder
    • 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 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(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.
       [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.
       [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.
       [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.
       [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.
       [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.
       [Deprecated, use the ``error`` field in ``feedback`` instead]
       An error encountered while computing the assessment.
       
      optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];
    • getErrorOrBuilder

      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:
      getErrorOrBuilder in interface Assessments.AssessmentOrBuilder
    • 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(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
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface Assessments.AssessmentOrBuilder
    • getMetadataMap

      public Map<String,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 String getMetadataOrDefault(String key, 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 String getMetadataOrThrow(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
    • clearMetadata

      public Assessments.Assessment.Builder clearMetadata()
    • removeMetadata

      public Assessments.Assessment.Builder removeMetadata(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 Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public Assessments.Assessment.Builder putMetadata(String key, 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(Map<String,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 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(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>