Interface QaQuestion.AnswerChoiceOrBuilder

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

public static interface QaQuestion.AnswerChoiceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Boolean value.
    A short string used as an identifier.
    com.google.protobuf.ByteString
    A short string used as an identifier.
    boolean
    A value of "Not Applicable (N/A)".
    double
    Numerical value.
    double
    Numerical score of the answer, used for generating the overall score of a QaScorecardResult.
    String value.
    com.google.protobuf.ByteString
    String value.
     
    boolean
    Boolean value.
    boolean
    A value of "Not Applicable (N/A)".
    boolean
    Numerical value.
    boolean
    Numerical score of the answer, used for generating the overall score of a QaScorecardResult.
    boolean
    String value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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)". 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;
      Returns:
      Whether the naValue field is set.
    • getNaValue

      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;
      Returns:
      The naValue.
    • getKey

      String getKey()
       A short string used as an identifier.
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

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

      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;
      Returns:
      Whether the score field is set.
    • getScore

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