Interface QuestionStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
QuestionStats,QuestionStats.Builder
public interface QuestionStatsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];QuestionStats.QuestionDatagetQuestion().streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];AnswerVotesStatsgetStatistics(int index)repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];intgetStatisticsCount()repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];java.util.List<AnswerVotesStats>getStatisticsList()repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];booleanhasQuestion().streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];
-
-
-
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.
-
hasQuestion
boolean hasQuestion()
.streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];- Returns:
- Whether the question field is set.
-
getQuestion
QuestionStats.QuestionData getQuestion()
.streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];- Returns:
- The question.
-
getStatisticsList
java.util.List<AnswerVotesStats> getStatisticsList()
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];
-
getStatistics
AnswerVotesStats getStatistics(int index)
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];
-
getStatisticsCount
int getStatisticsCount()
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];
-
-