Interface QaAnswer.AnswerValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
QaAnswer.AnswerValue, QaAnswer.AnswerValue.Builder
Enclosing class:
QaAnswer

public static interface QaAnswer.AnswerValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStrValue

      boolean hasStrValue()
       String value.
       
      string str_value = 2;
      Returns:
      Whether the strValue field is set.
    • getStrValue

      String getStrValue()
       String value.
       
      string str_value = 2;
      Returns:
      The strValue.
    • getStrValueBytes

      com.google.protobuf.ByteString getStrValueBytes()
       String value.
       
      string str_value = 2;
      Returns:
      The bytes for strValue.
    • hasNumValue

      boolean hasNumValue()
       Numerical value.
       
      double num_value = 3;
      Returns:
      Whether the numValue field is set.
    • getNumValue

      double getNumValue()
       Numerical value.
       
      double num_value = 3;
      Returns:
      The numValue.
    • hasBoolValue

      boolean hasBoolValue()
       Boolean value.
       
      bool bool_value = 4;
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      boolean getBoolValue()
       Boolean value.
       
      bool bool_value = 4;
      Returns:
      The boolValue.
    • hasNaValue

      boolean hasNaValue()
       A value of "Not Applicable (N/A)". Should only ever be `true`.
       
      bool na_value = 5;
      Returns:
      Whether the naValue field is set.
    • getNaValue

      boolean getNaValue()
       A value of "Not Applicable (N/A)". Should only ever be `true`.
       
      bool na_value = 5;
      Returns:
      The naValue.
    • getKey

      String getKey()
       A short string used as an identifier. Matches the value used in
       QaQuestion.AnswerChoice.key.
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       A short string used as an identifier. Matches the value used in
       QaQuestion.AnswerChoice.key.
       
      string key = 1;
      Returns:
      The bytes for key.
    • hasScore

      boolean hasScore()
       Output only. Numerical score of the answer.
       
      optional double score = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the score field is set.
    • getScore

      double getScore()
       Output only. Numerical score of the answer.
       
      optional double score = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The score.
    • hasPotentialScore

      boolean hasPotentialScore()
       Output only. The maximum potential score of the question.
       
      optional double potential_score = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the potentialScore field is set.
    • getPotentialScore

      double getPotentialScore()
       Output only. The maximum potential score of the question.
       
      optional double potential_score = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The potentialScore.
    • hasNormalizedScore

      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];
      Returns:
      Whether the normalizedScore field is set.
    • getNormalizedScore

      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];
      Returns:
      The normalizedScore.
    • getValueCase