Interface ExtendedQuestionAnswerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ExtendedQuestionAnswer,ExtendedQuestionAnswer.Builder
public interface ExtendedQuestionAnswerOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetCorrect()bool correct = 4 [json_name = "correct"];java.lang.StringgetIcon()string icon = 3 [json_name = "icon"];com.google.protobuf.ByteStringgetIconBytes()string icon = 3 [json_name = "icon"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];intgetPercentage()Deprecated.streamlayer.interactive.ExtendedQuestionAnswer.percentage is deprecated.doublegetPercentageDecimal()double percentage_decimal = 8 [json_name = "percentageDecimal"];intgetPoints()uint32 points = 5 [json_name = "points"];intgetPointsEarned()points set in the vote, e.g.java.lang.StringgetText()string text = 2 [json_name = "text"];com.google.protobuf.ByteStringgetTextBytes()string text = 2 [json_name = "text"];booleangetYouVoted()mark answer voted by you, not available on subscription
-
-
-
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=306uint32 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.
-
-