public static interface QaAnswer.AnswerValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolValue()
Boolean value.
|
String |
getKey()
A short string used as an identifier.
|
com.google.protobuf.ByteString |
getKeyBytes()
A short string used as an identifier.
|
boolean |
getNaValue()
A value of "Not Applicable (N/A)".
|
double |
getNormalizedScore()
Output only.
|
double |
getNumValue()
Numerical value.
|
double |
getPotentialScore()
Output only.
|
double |
getScore()
Output only.
|
String |
getStrValue()
String value.
|
com.google.protobuf.ByteString |
getStrValueBytes()
String value.
|
QaAnswer.AnswerValue.ValueCase |
getValueCase() |
boolean |
hasBoolValue()
Boolean value.
|
boolean |
hasNaValue()
A value of "Not Applicable (N/A)".
|
boolean |
hasNormalizedScore()
Output only.
|
boolean |
hasNumValue()
Numerical value.
|
boolean |
hasPotentialScore()
Output only.
|
boolean |
hasScore()
Output only.
|
boolean |
hasStrValue()
String value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasStrValue()
String value.
string str_value = 2;String getStrValue()
String value.
string str_value = 2;com.google.protobuf.ByteString getStrValueBytes()
String value.
string str_value = 2;boolean hasNumValue()
Numerical value.
double num_value = 3;double getNumValue()
Numerical value.
double num_value = 3;boolean hasBoolValue()
Boolean value.
bool bool_value = 4;boolean getBoolValue()
Boolean value.
bool bool_value = 4;boolean hasNaValue()
A value of "Not Applicable (N/A)". Should only ever be `true`.
bool na_value = 5;boolean getNaValue()
A value of "Not Applicable (N/A)". Should only ever be `true`.
bool na_value = 5;String getKey()
A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
string key = 1;com.google.protobuf.ByteString getKeyBytes()
A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
string key = 1;boolean hasScore()
Output only. Numerical score of the answer.
optional double score = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];double getScore()
Output only. Numerical score of the answer.
optional double score = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasPotentialScore()
Output only. The maximum potential score of the question.
optional double potential_score = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
double getPotentialScore()
Output only. The maximum potential score of the question.
optional double potential_score = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasNormalizedScore()
Output only. Normalized score of the questions. Calculated as score / potential_score.
optional double normalized_score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
double getNormalizedScore()
Output only. Normalized score of the questions. Calculated as score / potential_score.
optional double normalized_score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
QaAnswer.AnswerValue.ValueCase getValueCase()
Copyright © 2025 Google LLC. All rights reserved.