Package org.mlflow.api.proto
Class Assessments.Assessment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.Assessments.Assessment
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Assessments.AssessmentOrBuilder
- Enclosing class:
- Assessments
public static final class Assessments.Assessment extends com.google.protobuf.GeneratedMessageV3 implements Assessments.AssessmentOrBuilder
Data and metadata for an assessment of a trace.
Protobuf typemlflow.assessments.Assessment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssessments.Assessment.BuilderData and metadata for an assessment of a trace.static classAssessments.Assessment.ValueCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSESSMENT_ID_FIELD_NUMBERstatic intASSESSMENT_NAME_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intEXPECTATION_FIELD_NUMBERstatic intFEEDBACK_FIELD_NUMBERstatic intLAST_UPDATE_TIME_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intOVERRIDES_FIELD_NUMBERstatic com.google.protobuf.Parser<Assessments.Assessment>PARSERDeprecated.static intRATIONALE_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intSPAN_ID_FIELD_NUMBERstatic intTRACE_ID_FIELD_NUMBERstatic intVALID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(java.lang.Object obj)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.static Assessments.AssessmentgetDefaultInstance()Assessments.AssessmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<Assessments.Assessment>getParserForType()java.lang.StringgetRationale()Justification for the assessment.com.google.protobuf.ByteStringgetRationaleBytes()Justification for the assessment.intgetSerializedSize()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()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.inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Assessments.Assessment.BuildernewBuilder()static Assessments.Assessment.BuildernewBuilder(Assessments.Assessment prototype)Assessments.Assessment.BuildernewBuilderForType()protected Assessments.Assessment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Assessments.AssessmentparseDelimitedFrom(java.io.InputStream input)static Assessments.AssessmentparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Assessments.AssessmentparseFrom(byte[] data)static Assessments.AssessmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Assessments.AssessmentparseFrom(com.google.protobuf.ByteString data)static Assessments.AssessmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Assessments.AssessmentparseFrom(com.google.protobuf.CodedInputStream input)static Assessments.AssessmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Assessments.AssessmentparseFrom(java.io.InputStream input)static Assessments.AssessmentparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Assessments.AssessmentparseFrom(java.nio.ByteBuffer data)static Assessments.AssessmentparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Assessments.Assessment>parser()Assessments.Assessment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ASSESSMENT_ID_FIELD_NUMBER
public static final int ASSESSMENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSESSMENT_NAME_FIELD_NUMBER
public static final int ASSESSMENT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPAN_ID_FIELD_NUMBER
public static final int SPAN_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_UPDATE_TIME_FIELD_NUMBER
public static final int LAST_UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEEDBACK_FIELD_NUMBER
public static final int FEEDBACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPECTATION_FIELD_NUMBER
public static final int EXPECTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATIONALE_FIELD_NUMBER
public static final int RATIONALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDES_FIELD_NUMBER
public static final int OVERRIDES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALID_FIELD_NUMBER
public static final int VALID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Assessments.Assessment> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
public Assessments.Assessment.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceAssessments.AssessmentOrBuilder
-
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
public java.lang.String getAssessmentId()
Unique ID of the assessment. NB: This is not marked as required field via "validate_required", because the message is used in the context of creating a new assessment, where the ID is not known.
optional string assessment_id = 1;- Specified by:
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.
-
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
public java.lang.String getAssessmentName()
Name of the assessment. The name must not contain ".".
optional string assessment_name = 2 [(.mlflow.validate_required) = true];- Specified by:
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.
-
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
public java.lang.String 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.
-
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
public java.lang.String getSpanId()
ID of the span if the assessment is for a particular span (optional).
optional string span_id = 4;- Specified by:
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.
-
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
public Assessments.AssessmentSource getSource()
The source this assessment came from.
optional .mlflow.assessments.AssessmentSource source = 5;- Specified by:
getSourcein interfaceAssessments.AssessmentOrBuilder- Returns:
- The source.
-
getSourceOrBuilder
public Assessments.AssessmentSourceOrBuilder 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.
-
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.
-
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
public Assessments.Feedback getFeedback()
The feedback on the trace from this assessment.
.mlflow.assessments.Feedback feedback = 9;- Specified by:
getFeedbackin interfaceAssessments.AssessmentOrBuilder- Returns:
- The feedback.
-
getFeedbackOrBuilder
public Assessments.FeedbackOrBuilder 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
public Assessments.Expectation 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.
-
getExpectationOrBuilder
public Assessments.ExpectationOrBuilder 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
public java.lang.String 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.
-
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:
hasErrorin interfaceAssessments.AssessmentOrBuilder- Returns:
- Whether the error field is set.
-
getError
@Deprecated public Assessments.AssessmentError getError()
Deprecated.[Deprecated, use the ``error`` field in ``feedback`` instead] An error encountered while computing the assessment.
optional .mlflow.assessments.AssessmentError error = 12 [deprecated = true];- Specified by:
getErrorin interfaceAssessments.AssessmentOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
@Deprecated public 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];- 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
public boolean containsMetadata(java.lang.String key)
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;- Specified by:
containsMetadatain interfaceAssessments.AssessmentOrBuilder
-
getMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceAssessments.AssessmentOrBuilder
-
getMetadataMap
public java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;- Specified by:
getMetadataMapin interfaceAssessments.AssessmentOrBuilder
-
getMetadataOrDefault
public java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;- Specified by:
getMetadataOrDefaultin interfaceAssessments.AssessmentOrBuilder
-
getMetadataOrThrow
public java.lang.String getMetadataOrThrow(java.lang.String key)
Additional metadata describing the assessment and store additional information, such as the chunk relevance chunk_index. This metadata is required to be JSON-serializable.
map<string, string> metadata = 13;- Specified by:
getMetadataOrThrowin interfaceAssessments.AssessmentOrBuilder
-
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
public java.lang.String 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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Assessments.Assessment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessments.Assessment parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Assessments.Assessment parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Assessments.Assessment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Assessments.Assessment parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Assessments.Assessment parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Assessments.Assessment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Assessments.Assessment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Assessments.Assessment.Builder newBuilder()
-
newBuilder
public static Assessments.Assessment.Builder newBuilder(Assessments.Assessment prototype)
-
toBuilder
public Assessments.Assessment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Assessments.Assessment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Assessments.Assessment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Assessments.Assessment> parser()
-
getParserForType
public com.google.protobuf.Parser<Assessments.Assessment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Assessments.Assessment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-