Package org.mlflow.api.proto
Interface Assessments.AssessmentOrBuilder
- 
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder
 - All Known Implementing Classes:
- Assessments.Assessment,- Assessments.Assessment.Builder
 - Enclosing class:
- Assessments
 
 public static interface Assessments.AssessmentOrBuilder extends com.google.protobuf.MessageOrBuilder
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(java.lang.String key)Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.java.lang.StringgetAssessmentId()Unique ID of the assessment.com.google.protobuf.ByteStringgetAssessmentIdBytes()Unique ID of the assessment.java.lang.StringgetAssessmentName()Name of the assessment.com.google.protobuf.ByteStringgetAssessmentNameBytes()Name of the assessment.com.google.protobuf.TimestampgetCreateTime()The creation time of this assessment.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The creation time of this assessment.Assessments.AssessmentErrorgetError()Deprecated.Assessments.AssessmentErrorOrBuildergetErrorOrBuilder()Deprecated.Assessments.ExpectationgetExpectation()A representation of the guidelines and/or expected response from the agent.Assessments.ExpectationOrBuildergetExpectationOrBuilder()A representation of the guidelines and/or expected response from the agent.Assessments.FeedbackgetFeedback()The feedback on the trace from this assessment.Assessments.FeedbackOrBuildergetFeedbackOrBuilder()The feedback on the trace from this assessment.com.google.protobuf.TimestampgetLastUpdateTime()The last update time of this assessment.com.google.protobuf.TimestampOrBuildergetLastUpdateTimeOrBuilder()The last update time of this assessment.java.util.Map<java.lang.String,java.lang.String>getMetadata()Deprecated.intgetMetadataCount()Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.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.java.lang.StringgetMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.java.lang.StringgetMetadataOrThrow(java.lang.String key)Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.java.lang.StringgetOverrides()The ID of the assessment which this assessment overrides.com.google.protobuf.ByteStringgetOverridesBytes()The ID of the assessment which this assessment overrides.java.lang.StringgetRationale()Justification for the assessment.com.google.protobuf.ByteStringgetRationaleBytes()Justification for the assessment.Assessments.AssessmentSourcegetSource()The source this assessment came from.Assessments.AssessmentSourceOrBuildergetSourceOrBuilder()The source this assessment came from.java.lang.StringgetSpanId()ID of the span if the assessment is for a particular span (optional).com.google.protobuf.ByteStringgetSpanIdBytes()ID of the span if the assessment is for a particular span (optional).java.lang.StringgetTraceId()ID of the trace this assessment is associated with.com.google.protobuf.ByteStringgetTraceIdBytes()ID of the trace this assessment is associated with.booleangetValid()Whether this assessment is valid (i.e.Assessments.Assessment.ValueCasegetValueCase()booleanhasAssessmentId()Unique ID of the assessment.booleanhasAssessmentName()Name of the assessment.booleanhasCreateTime()The creation time of this assessment.booleanhasError()Deprecated.booleanhasExpectation()A representation of the guidelines and/or expected response from the agent.booleanhasFeedback()The feedback on the trace from this assessment.booleanhasLastUpdateTime()The last update time of this assessment.booleanhasOverrides()The ID of the assessment which this assessment overrides.booleanhasRationale()Justification for the assessment.booleanhasSource()The source this assessment came from.booleanhasSpanId()ID of the span if the assessment is for a particular span (optional).booleanhasTraceId()ID of the trace this assessment is associated with.booleanhasValid()Whether this assessment is valid (i.e.- 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasAssessmentIdboolean 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;- Returns:
- Whether the assessmentId field is set.
 
 - 
getAssessmentIdjava.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;- Returns:
- The assessmentId.
 
 - 
getAssessmentIdBytescom.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;- Returns:
- The bytes for assessmentId.
 
 - 
hasAssessmentNameboolean hasAssessmentName() Name of the assessment. The name must not contain ".". optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Returns:
- Whether the assessmentName field is set.
 
 - 
getAssessmentNamejava.lang.String getAssessmentName() Name of the assessment. The name must not contain ".". optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Returns:
- The assessmentName.
 
 - 
getAssessmentNameBytescom.google.protobuf.ByteString getAssessmentNameBytes() Name of the assessment. The name must not contain ".". optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Returns:
- The bytes for assessmentName.
 
 - 
hasTraceIdboolean hasTraceId() ID of the trace this assessment is associated with. optional string trace_id = 3;- Returns:
- Whether the traceId field is set.
 
 - 
getTraceIdjava.lang.String getTraceId() ID of the trace this assessment is associated with. optional string trace_id = 3;- Returns:
- The traceId.
 
 - 
getTraceIdBytescom.google.protobuf.ByteString getTraceIdBytes() ID of the trace this assessment is associated with. optional string trace_id = 3;- Returns:
- The bytes for traceId.
 
 - 
hasSpanIdboolean hasSpanId() ID of the span if the assessment is for a particular span (optional). optional string span_id = 4;- Returns:
- Whether the spanId field is set.
 
 - 
getSpanIdjava.lang.String getSpanId() ID of the span if the assessment is for a particular span (optional). optional string span_id = 4;- Returns:
- The spanId.
 
 - 
getSpanIdBytescom.google.protobuf.ByteString getSpanIdBytes() ID of the span if the assessment is for a particular span (optional). optional string span_id = 4;- Returns:
- The bytes for spanId.
 
 - 
hasSourceboolean hasSource() The source this assessment came from. optional .mlflow.assessments.AssessmentSource source = 5;- Returns:
- Whether the source field is set.
 
 - 
getSourceAssessments.AssessmentSource getSource() The source this assessment came from. optional .mlflow.assessments.AssessmentSource source = 5;- Returns:
- The source.
 
 - 
getSourceOrBuilderAssessments.AssessmentSourceOrBuilder getSourceOrBuilder() The source this assessment came from. optional .mlflow.assessments.AssessmentSource source = 5;
 - 
hasCreateTimeboolean hasCreateTime() The creation time of this assessment. optional .google.protobuf.Timestamp create_time = 6;- Returns:
- Whether the createTime field is set.
 
 - 
getCreateTimecom.google.protobuf.Timestamp getCreateTime() The creation time of this assessment. optional .google.protobuf.Timestamp create_time = 6;- Returns:
- The createTime.
 
 - 
getCreateTimeOrBuildercom.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() The creation time of this assessment. optional .google.protobuf.Timestamp create_time = 6;
 - 
hasLastUpdateTimeboolean hasLastUpdateTime() The last update time of this assessment. optional .google.protobuf.Timestamp last_update_time = 7;- Returns:
- Whether the lastUpdateTime field is set.
 
 - 
getLastUpdateTimecom.google.protobuf.Timestamp getLastUpdateTime() The last update time of this assessment. optional .google.protobuf.Timestamp last_update_time = 7;- Returns:
- The lastUpdateTime.
 
 - 
getLastUpdateTimeOrBuildercom.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() The last update time of this assessment. optional .google.protobuf.Timestamp last_update_time = 7;
 - 
hasFeedbackboolean hasFeedback() The feedback on the trace from this assessment. .mlflow.assessments.Feedback feedback = 9;- Returns:
- Whether the feedback field is set.
 
 - 
getFeedbackAssessments.Feedback getFeedback() The feedback on the trace from this assessment. .mlflow.assessments.Feedback feedback = 9;- Returns:
- The feedback.
 
 - 
getFeedbackOrBuilderAssessments.FeedbackOrBuilder getFeedbackOrBuilder() The feedback on the trace from this assessment. .mlflow.assessments.Feedback feedback = 9;
 - 
hasExpectationboolean hasExpectation() A representation of the guidelines and/or expected response from the agent. .mlflow.assessments.Expectation expectation = 10;- Returns:
- Whether the expectation field is set.
 
 - 
getExpectationAssessments.Expectation getExpectation() A representation of the guidelines and/or expected response from the agent. .mlflow.assessments.Expectation expectation = 10;- Returns:
- The expectation.
 
 - 
getExpectationOrBuilderAssessments.ExpectationOrBuilder getExpectationOrBuilder() A representation of the guidelines and/or expected response from the agent. .mlflow.assessments.Expectation expectation = 10;
 - 
hasRationaleboolean hasRationale() Justification for the assessment. optional string rationale = 11;- Returns:
- Whether the rationale field is set.
 
 - 
getRationalejava.lang.String getRationale() Justification for the assessment. optional string rationale = 11;- Returns:
- The rationale.
 
 - 
getRationaleBytescom.google.protobuf.ByteString getRationaleBytes() Justification for the assessment. optional string rationale = 11;- Returns:
- The bytes for rationale.
 
 - 
hasError@Deprecated 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];- Returns:
- Whether the error field is set.
 
 - 
getError@Deprecated 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];- Returns:
- The error.
 
 - 
getErrorOrBuilder@Deprecated Assessments.AssessmentErrorOrBuilder 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];
 - 
getMetadataCountint getMetadataCount() 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;
 - 
containsMetadataboolean 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;
 - 
getMetadata@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata() Deprecated.UsegetMetadataMap()instead.
 - 
getMetadataMapjava.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;
 - 
getMetadataOrDefaultjava.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;
 - 
getMetadataOrThrowjava.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;
 - 
hasOverridesboolean hasOverrides() The ID of the assessment which this assessment overrides. optional string overrides = 14;- Returns:
- Whether the overrides field is set.
 
 - 
getOverridesjava.lang.String getOverrides() The ID of the assessment which this assessment overrides. optional string overrides = 14;- Returns:
- The overrides.
 
 - 
getOverridesBytescom.google.protobuf.ByteString getOverridesBytes() The ID of the assessment which this assessment overrides. optional string overrides = 14;- Returns:
- The bytes for overrides.
 
 - 
hasValidboolean 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];- Returns:
- Whether the valid field is set.
 
 - 
getValidboolean 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];- Returns:
- The valid.
 
 - 
getValueCaseAssessments.Assessment.ValueCase getValueCase() 
 
- 
 
-