Package org.mlflow.api.proto
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Unique ID of the assessment.Name of the assessment.The creation time of this assessment.Deprecated.A representation of the guidelines and/or expected response from the agent.The feedback on the trace from this assessment.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The last update time of this assessment.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The ID of the assessment which this assessment overrides.Justification for the assessment.The source this assessment came from.ID of the span if the assessment is for a particular span (optional).ID of the trace this assessment is associated with.Whether this assessment is valid (i.e.clone()booleancontainsMetadata(String key) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Unique ID of the assessment.com.google.protobuf.ByteStringUnique ID of the assessment.Name of the assessment.com.google.protobuf.ByteStringName of the assessment.com.google.protobuf.TimestampThe creation time of this assessment.com.google.protobuf.Timestamp.BuilderThe creation time of this assessment.com.google.protobuf.TimestampOrBuilderThe creation time of this assessment.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Deprecated.Deprecated.Deprecated.A representation of the guidelines and/or expected response from the agent.A representation of the guidelines and/or expected response from the agent.A representation of the guidelines and/or expected response from the agent.The feedback on the trace from this assessment.The feedback on the trace from this assessment.The feedback on the trace from this assessment.com.google.protobuf.TimestampThe last update time of this assessment.com.google.protobuf.Timestamp.BuilderThe last update time of this assessment.com.google.protobuf.TimestampOrBuilderThe last update time of this assessment.Deprecated.intAdditional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.getMetadataOrDefault(String key, String defaultValue) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.getMetadataOrThrow(String key) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.Deprecated.The ID of the assessment which this assessment overrides.com.google.protobuf.ByteStringThe ID of the assessment which this assessment overrides.Justification for the assessment.com.google.protobuf.ByteStringJustification for the assessment.The source this assessment came from.The source this assessment came from.The source this assessment came from.ID of the span if the assessment is for a particular span (optional).com.google.protobuf.ByteStringID of the span if the assessment is for a particular span (optional).ID of the trace this assessment is associated with.com.google.protobuf.ByteStringID of the trace this assessment is associated with.booleangetValid()Whether this assessment is valid (i.e.booleanUnique ID of the assessment.booleanName of the assessment.booleanThe creation time of this assessment.booleanhasError()Deprecated.booleanA representation of the guidelines and/or expected response from the agent.booleanThe feedback on the trace from this assessment.booleanThe last update time of this assessment.booleanThe ID of the assessment which this assessment overrides.booleanJustification for the assessment.booleanThe source this assessment came from.booleanID of the span if the assessment is for a particular span (optional).booleanID of the trace this assessment is associated with.booleanhasValid()Whether this assessment is valid (i.e.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) The creation time of this assessment.Deprecated.A representation of the guidelines and/or expected response from the agent.The feedback on the trace from this assessment.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Assessments.Assessment other) mergeLastUpdateTime(com.google.protobuf.Timestamp value) The last update time of this assessment.The source this assessment came from.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetadata(Map<String, String> values) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.putMetadata(String key, String value) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.removeMetadata(String key) Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index.setAssessmentId(String value) Unique ID of the assessment.setAssessmentIdBytes(com.google.protobuf.ByteString value) Unique ID of the assessment.setAssessmentName(String value) Name of the assessment.setAssessmentNameBytes(com.google.protobuf.ByteString value) Name of the assessment.setCreateTime(com.google.protobuf.Timestamp value) The creation time of this assessment.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The creation time of this assessment.Deprecated.setError(Assessments.AssessmentError.Builder builderForValue) Deprecated.A representation of the guidelines and/or expected response from the agent.setExpectation(Assessments.Expectation.Builder builderForValue) A representation of the guidelines and/or expected response from the agent.setFeedback(Assessments.Feedback value) The feedback on the trace from this assessment.setFeedback(Assessments.Feedback.Builder builderForValue) The feedback on the trace from this assessment.setLastUpdateTime(com.google.protobuf.Timestamp value) The last update time of this assessment.setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The last update time of this assessment.setOverrides(String value) The ID of the assessment which this assessment overrides.setOverridesBytes(com.google.protobuf.ByteString value) The ID of the assessment which this assessment overrides.setRationale(String value) Justification for the assessment.setRationaleBytes(com.google.protobuf.ByteString value) Justification for the assessment.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The source this assessment came from.setSource(Assessments.AssessmentSource.Builder builderForValue) The source this assessment came from.ID of the span if the assessment is for a particular span (optional).setSpanIdBytes(com.google.protobuf.ByteString value) ID of the span if the assessment is for a particular span (optional).setTraceId(String value) ID of the trace this assessment is associated with.setTraceIdBytes(com.google.protobuf.ByteString value) ID of the trace this assessment is associated with.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValid(boolean value) Whether this assessment is valid (i.e.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
setField
public Assessments.Assessment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clearField
public Assessments.Assessment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clearOneof
public Assessments.Assessment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
addRepeatedField
public Assessments.Assessment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Assessments.Assessment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Assessments.Assessment.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceAssessments.AssessmentOrBuilder
-
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:
hasAssessmentIdin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the assessmentId field is set.
-
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:
getAssessmentIdin interfaceAssessments.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:
getAssessmentIdBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for assessmentId.
-
setAssessmentId
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
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
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:
hasAssessmentNamein interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the assessmentName field is set.
-
getAssessmentName
Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Specified by:
getAssessmentNamein interfaceAssessments.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:
getAssessmentNameBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for assessmentName.
-
setAssessmentName
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
Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setAssessmentNameBytes
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:
hasTraceIdin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the traceId field is set.
-
getTraceId
ID of the trace this assessment is associated with.
optional string trace_id = 3;- Specified by:
getTraceIdin interfaceAssessments.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:
getTraceIdBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for traceId.
-
setTraceId
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
ID of the trace this assessment is associated with.
optional string trace_id = 3;- Returns:
- This builder for chaining.
-
setTraceIdBytes
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:
hasSpanIdin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the spanId field is set.
-
getSpanId
ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;- Specified by:
getSpanIdin interfaceAssessments.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:
getSpanIdBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for spanId.
-
setSpanId
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
ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;- Returns:
- This builder for chaining.
-
setSpanIdBytes
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:
hasSourcein interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the source field is set.
-
getSource
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;- Specified by:
getSourcein interfaceAssessments.AssessmentOrBuilder- Returns:
- The source.
-
setSource
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5; -
setSource
public Assessments.Assessment.Builder setSource(Assessments.AssessmentSource.Builder builderForValue) 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
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5; -
getSourceBuilder
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5; -
getSourceOrBuilder
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;- Specified by:
getSourceOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
hasCreateTime
public boolean hasCreateTime()The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceAssessments.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:
getCreateTimein interfaceAssessments.AssessmentOrBuilder- Returns:
- The createTime.
-
setCreateTime
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
The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6; -
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:
getCreateTimeOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7;- Specified by:
hasLastUpdateTimein interfaceAssessments.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:
getLastUpdateTimein interfaceAssessments.AssessmentOrBuilder- Returns:
- The lastUpdateTime.
-
setLastUpdateTime
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
The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7; -
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:
getLastUpdateTimeOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
hasFeedback
public boolean hasFeedback()The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;- Specified by:
hasFeedbackin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the feedback field is set.
-
getFeedback
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;- Specified by:
getFeedbackin interfaceAssessments.AssessmentOrBuilder- Returns:
- The feedback.
-
setFeedback
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9; -
setFeedback
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
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9; -
getFeedbackBuilder
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9; -
getFeedbackOrBuilder
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;- Specified by:
getFeedbackOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
hasExpectation
public boolean hasExpectation()A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;- Specified by:
hasExpectationin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the expectation field is set.
-
getExpectation
A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;- Specified by:
getExpectationin interfaceAssessments.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
A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10; -
getExpectationBuilder
A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10; -
getExpectationOrBuilder
A representation of the guidelines and/or expected response from the agent.
.mlflow.assessments.Expectation expectation = 10;- Specified by:
getExpectationOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
hasRationale
public boolean hasRationale()Justification for the assessment.
optional string rationale = 11;- Specified by:
hasRationalein interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the rationale field is set.
-
getRationale
Justification for the assessment.
optional string rationale = 11;- Specified by:
getRationalein interfaceAssessments.AssessmentOrBuilder- Returns:
- The rationale.
-
getRationaleBytes
public com.google.protobuf.ByteString getRationaleBytes()Justification for the assessment.
optional string rationale = 11;- Specified by:
getRationaleBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for rationale.
-
setRationale
Justification for the assessment.
optional string rationale = 11;- Parameters:
value- The rationale to set.- Returns:
- This builder for chaining.
-
clearRationale
Justification for the assessment.
optional string rationale = 11;- Returns:
- This builder for chaining.
-
setRationaleBytes
Justification for the assessment.
optional string rationale = 11;- Parameters:
value- The bytes for rationale to set.- Returns:
- This builder for chaining.
-
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:
hasErrorin interfaceAssessments.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:
getErrorin interfaceAssessments.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 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.[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:
getErrorOrBuilderin interfaceAssessments.AssessmentOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:Assessments.AssessmentOrBuilderAdditional 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:
getMetadataCountin interfaceAssessments.AssessmentOrBuilder
-
containsMetadata
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:
containsMetadatain interfaceAssessments.AssessmentOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceAssessments.AssessmentOrBuilder
-
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:
getMetadataMapin interfaceAssessments.AssessmentOrBuilder
-
getMetadataOrDefault
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:
getMetadataOrDefaultin interfaceAssessments.AssessmentOrBuilder
-
getMetadataOrThrow
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:
getMetadataOrThrowin interfaceAssessments.AssessmentOrBuilder
-
clearMetadata
-
removeMetadata
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.Use alternate mutation accessors instead. -
putMetadata
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
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:
hasOverridesin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the overrides field is set.
-
getOverrides
The ID of the assessment which this assessment overrides.
optional string overrides = 14;- Specified by:
getOverridesin interfaceAssessments.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:
getOverridesBytesin interfaceAssessments.AssessmentOrBuilder- Returns:
- The bytes for overrides.
-
setOverrides
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
The ID of the assessment which this assessment overrides.
optional string overrides = 14;- Returns:
- This builder for chaining.
-
setOverridesBytes
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:
hasValidin interfaceAssessments.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:
getValidin interfaceAssessments.AssessmentOrBuilder- Returns:
- The valid.
-
setValid
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
mergeUnknownFields
public final Assessments.Assessment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-