Interface ExtendedQuestionAnswerOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean getCorrect()
      bool correct = 4 [json_name = "correct"];
      java.lang.String getIcon()
      string icon = 3 [json_name = "icon"];
      com.google.protobuf.ByteString getIconBytes()
      string icon = 3 [json_name = "icon"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      int getPercentage()
      Deprecated.
      streamlayer.interactive.ExtendedQuestionAnswer.percentage is deprecated.
      double getPercentageDecimal()
      double percentage_decimal = 8 [json_name = "percentageDecimal"];
      int getPoints()
      uint32 points = 5 [json_name = "points"];
      int getPointsEarned()
      points set in the vote, e.g.
      java.lang.String getText()
      string text = 2 [json_name = "text"];
      com.google.protobuf.ByteString getTextBytes()
      string text = 2 [json_name = "text"];
      boolean getYouVoted()
      mark answer voted by you, not available on subscription
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        java.lang.String getId()
        string id = 1 [json_name = "id"];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Returns:
        The bytes for id.
      • getText

        java.lang.String getText()
        string text = 2 [json_name = "text"];
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
        string text = 2 [json_name = "text"];
        Returns:
        The bytes for text.
      • getIcon

        java.lang.String getIcon()
        string icon = 3 [json_name = "icon"];
        Returns:
        The icon.
      • getIconBytes

        com.google.protobuf.ByteString getIconBytes()
        string icon = 3 [json_name = "icon"];
        Returns:
        The bytes for icon.
      • getCorrect

        boolean getCorrect()
        bool correct = 4 [json_name = "correct"];
        Returns:
        The correct.
      • getPoints

        int getPoints()
        uint32 points = 5 [json_name = "points"];
        Returns:
        The points.
      • getPercentage

        @Deprecated
        int getPercentage()
        Deprecated.
        streamlayer.interactive.ExtendedQuestionAnswer.percentage is deprecated. See streamlayer/interactive/interactive.common.proto;l=380
        uint32 percentage = 6 [json_name = "percentage", deprecated = true];
        Returns:
        The percentage.
      • getYouVoted

        boolean getYouVoted()
         mark answer voted by you, not available on subscription
         
        bool you_voted = 7 [json_name = "youVoted"];
        Returns:
        The youVoted.
      • getPercentageDecimal

        double getPercentageDecimal()
        double percentage_decimal = 8 [json_name = "percentageDecimal"];
        Returns:
        The percentageDecimal.
      • getPointsEarned

        int getPointsEarned()
         points set in the vote, e.g. for trivia points = 0 when trivia is closed
         
        uint32 points_earned = 9 [json_name = "pointsEarned"];
        Returns:
        The pointsEarned.