main.java.com.streamlayer.interactive.common.ExtendedQuestionAnswerOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/interactive/interactive.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;
public interface ExtendedQuestionAnswerOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.ExtendedQuestionAnswer)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string id = 1 [json_name = "id"];
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string text = 2 [json_name = "text"];
* @return The text.
*/
java.lang.String getText();
/**
* string text = 2 [json_name = "text"];
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* string icon = 3 [json_name = "icon"];
* @return The icon.
*/
java.lang.String getIcon();
/**
* string icon = 3 [json_name = "icon"];
* @return The bytes for icon.
*/
com.google.protobuf.ByteString
getIconBytes();
/**
* bool correct = 4 [json_name = "correct"];
* @return The correct.
*/
boolean getCorrect();
/**
* uint32 points = 5 [json_name = "points"];
* @return The points.
*/
int getPoints();
/**
* uint32 percentage = 6 [json_name = "percentage", deprecated = true];
* @deprecated streamlayer.interactive.ExtendedQuestionAnswer.percentage is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=181
* @return The percentage.
*/
@java.lang.Deprecated int getPercentage();
/**
*
* mark answer voted by you, not available on subscription
*
*
* bool you_voted = 7 [json_name = "youVoted"];
* @return The youVoted.
*/
boolean getYouVoted();
/**
* double percentage_decimal = 8 [json_name = "percentageDecimal"];
* @return The percentageDecimal.
*/
double getPercentageDecimal();
/**
*
* points set in the vote, e.g. for trivia points = 0 when trivia is closed
*
*
* uint32 points_earned = 9 [json_name = "pointsEarned"];
* @return The pointsEarned.
*/
int getPointsEarned();
}