Interface AnswerVoteResultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    AnswerVoteResult, AnswerVoteResult.Builder

    public interface AnswerVoteResultOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAnswerId()
      string answer_id = 1 [json_name = "answerId"];
      com.google.protobuf.ByteString getAnswerIdBytes()
      string answer_id = 1 [json_name = "answerId"];
      boolean getCorrect()
      mark if the answer was correct
      int getPercentage()
      uint32 percentage = 2 [json_name = "percentage"];
      boolean getVoted()
      mark answer voted by you
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getAnswerId

        java.lang.String getAnswerId()
        string answer_id = 1 [json_name = "answerId"];
        Returns:
        The answerId.
      • getAnswerIdBytes

        com.google.protobuf.ByteString getAnswerIdBytes()
        string answer_id = 1 [json_name = "answerId"];
        Returns:
        The bytes for answerId.
      • getPercentage

        int getPercentage()
        uint32 percentage = 2 [json_name = "percentage"];
        Returns:
        The percentage.
      • getVoted

        boolean getVoted()
         mark answer voted by you
         
        bool voted = 3 [json_name = "voted"];
        Returns:
        The voted.
      • getCorrect

        boolean getCorrect()
         mark if the answer was correct
         
        bool correct = 4 [json_name = "correct"];
        Returns:
        The correct.