Package com.google.cloud.aiplatform.v1
Interface PairwiseQuestionAnsweringQualityResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PairwiseQuestionAnsweringQualityResult,PairwiseQuestionAnsweringQualityResult.Builder
@Generated
public interface PairwiseQuestionAnsweringQualityResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPairwiseChoiceValue
int getPairwiseChoiceValue()Output only. Pairwise question answering prediction choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for pairwiseChoice.
-
getPairwiseChoice
PairwiseChoice getPairwiseChoice()Output only. Pairwise question answering prediction choice.
.google.cloud.aiplatform.v1.PairwiseChoice pairwise_choice = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The pairwiseChoice.
-
getExplanation
String getExplanation()Output only. Explanation for question answering quality score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The explanation.
-
getExplanationBytes
com.google.protobuf.ByteString getExplanationBytes()Output only. Explanation for question answering quality score.
string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for explanation.
-
hasConfidence
boolean hasConfidence()Output only. Confidence for question answering quality score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the confidence field is set.
-
getConfidence
float getConfidence()Output only. Confidence for question answering quality score.
optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The confidence.
-