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()
boolean
containsMetadata
(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.ByteString
Unique ID of the assessment.Name of the assessment.com.google.protobuf.ByteString
Name of the assessment.com.google.protobuf.Timestamp
The creation time of this assessment.com.google.protobuf.Timestamp.Builder
The creation time of this assessment.com.google.protobuf.TimestampOrBuilder
The creation time of this assessment.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getError()
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.Timestamp
The last update time of this assessment.com.google.protobuf.Timestamp.Builder
The last update time of this assessment.com.google.protobuf.TimestampOrBuilder
The last update time of this assessment.Deprecated.int
Additional 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.ByteString
The ID of the assessment which this assessment overrides.Justification for the assessment.com.google.protobuf.ByteString
Justification 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.ByteString
ID of the span if the assessment is for a particular span (optional).ID of the trace this assessment is associated with.com.google.protobuf.ByteString
ID of the trace this assessment is associated with.boolean
getValid()
Whether this assessment is valid (i.e.boolean
Unique ID of the assessment.boolean
Name of the assessment.boolean
The creation time of this assessment.boolean
hasError()
Deprecated.boolean
A representation of the guidelines and/or expected response from the agent.boolean
The feedback on the trace from this assessment.boolean
The last update time of this assessment.boolean
The ID of the assessment which this assessment overrides.boolean
Justification for the assessment.boolean
The source this assessment came from.boolean
ID of the span if the assessment is for a particular span (optional).boolean
ID of the trace this assessment is associated with.boolean
hasValid()
Whether this assessment is valid (i.e.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeCreateTime
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clearField
public Assessments.Assessment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
clearOneof
public Assessments.Assessment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Assessments.Assessment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Assessments.Assessment.Builder>
- Throws:
IOException
-
getValueCase
- Specified by:
getValueCase
in 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:
hasAssessmentId
in 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:
getAssessmentId
in 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:
getAssessmentIdBytes
in 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:
hasAssessmentName
in 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:
getAssessmentName
in 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:
getAssessmentNameBytes
in 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:
hasTraceId
in 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:
getTraceId
in 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:
getTraceIdBytes
in 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:
hasSpanId
in 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:
getSpanId
in 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:
getSpanIdBytes
in 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:
hasSource
in interfaceAssessments.AssessmentOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;
- Specified by:
getSource
in 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:
getSourceOrBuilder
in interfaceAssessments.AssessmentOrBuilder
-
hasCreateTime
public boolean hasCreateTime()The creation time of this assessment.
optional .google.protobuf.Timestamp create_time = 6;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceAssessments.AssessmentOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()The last update time of this assessment.
optional .google.protobuf.Timestamp last_update_time = 7;
- Specified by:
hasLastUpdateTime
in 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:
getLastUpdateTime
in 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:
getLastUpdateTimeOrBuilder
in interfaceAssessments.AssessmentOrBuilder
-
hasFeedback
public boolean hasFeedback()The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;
- Specified by:
hasFeedback
in 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:
getFeedback
in 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:
getFeedbackOrBuilder
in 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:
hasExpectation
in 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:
getExpectation
in 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:
getExpectationOrBuilder
in interfaceAssessments.AssessmentOrBuilder
-
hasRationale
public boolean hasRationale()Justification for the assessment.
optional string rationale = 11;
- Specified by:
hasRationale
in interfaceAssessments.AssessmentOrBuilder
- Returns:
- Whether the rationale field is set.
-
getRationale
Justification for the assessment.
optional string rationale = 11;
- Specified by:
getRationale
in interfaceAssessments.AssessmentOrBuilder
- Returns:
- The rationale.
-
getRationaleBytes
public com.google.protobuf.ByteString getRationaleBytes()Justification for the assessment.
optional string rationale = 11;
- Specified by:
getRationaleBytes
in 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:
hasError
in 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:
getError
in 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:
getErrorOrBuilder
in interfaceAssessments.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 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:
containsMetadata
in interfaceAssessments.AssessmentOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in 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:
getMetadataMap
in 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:
getMetadataOrDefault
in 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:
getMetadataOrThrow
in 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:
hasOverrides
in 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:
getOverrides
in 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:
getOverridesBytes
in 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:
hasValid
in 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:
getValid
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-
mergeUnknownFields
public final Assessments.Assessment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessments.Assessment.Builder>
-