public static interface QaQuestion.AnswerChoiceOrBuilder
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 |
getNumValue()
Numerical value.
|
double |
getScore()
Numerical score of the answer, used for generating the overall score of
a QaScorecardResult.
|
String |
getStrValue()
String value.
|
com.google.protobuf.ByteString |
getStrValueBytes()
String value.
|
QaQuestion.AnswerChoice.ValueCase |
getValueCase() |
boolean |
hasBoolValue()
Boolean value.
|
boolean |
hasNaValue()
A value of "Not Applicable (N/A)".
|
boolean |
hasNumValue()
Numerical value.
|
boolean |
hasScore()
Numerical score of the answer, used for generating the overall score of
a QaScorecardResult.
|
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)". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations.
bool na_value = 5;boolean getNaValue()
A value of "Not Applicable (N/A)". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations.
bool na_value = 5;String getKey()
A short string used as an identifier.
string key = 1;com.google.protobuf.ByteString getKeyBytes()
A short string used as an identifier.
string key = 1;boolean hasScore()
Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
optional double score = 6;double getScore()
Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
optional double score = 6;QaQuestion.AnswerChoice.ValueCase getValueCase()
Copyright © 2025 Google LLC. All rights reserved.