Class QuestionStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionStats,QuestionStats.Builder>
-
- com.streamlayer.interactive.common.QuestionStats
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionStatsOrBuilder
public final class QuestionStats extends com.google.protobuf.GeneratedMessageLite<QuestionStats,QuestionStats.Builder> implements QuestionStatsOrBuilder
Protobuf typestreamlayer.interactive.QuestionStats
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionStats.BuilderProtobuf typestreamlayer.interactive.QuestionStatsstatic classQuestionStats.QuestionDataProtobuf typestreamlayer.interactive.QuestionStats.QuestionDatastatic interfaceQuestionStats.QuestionDataOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intID_FIELD_NUMBERstatic intQUESTION_FIELD_NUMBERstatic intSTATISTICS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)static QuestionStatsgetDefaultInstance()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"];AnswerVotesStatsOrBuildergetStatisticsOrBuilder(int index)repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];java.util.List<? extends AnswerVotesStatsOrBuilder>getStatisticsOrBuilderList()repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];booleanhasQuestion().streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];static QuestionStats.BuildernewBuilder()static QuestionStats.BuildernewBuilder(QuestionStats prototype)static QuestionStatsparseDelimitedFrom(java.io.InputStream input)static QuestionStatsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionStatsparseFrom(byte[] data)static QuestionStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionStatsparseFrom(com.google.protobuf.ByteString data)static QuestionStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionStatsparseFrom(com.google.protobuf.CodedInputStream input)static QuestionStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionStatsparseFrom(java.io.InputStream input)static QuestionStatsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionStatsparseFrom(java.nio.ByteBuffer data)static QuestionStatsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionStats>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUESTION_FIELD_NUMBER
public static final int QUESTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATISTICS_FIELD_NUMBER
public static final int STATISTICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceQuestionStatsOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceQuestionStatsOrBuilder- Returns:
- The bytes for id.
-
hasQuestion
public boolean hasQuestion()
.streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];- Specified by:
hasQuestionin interfaceQuestionStatsOrBuilder- Returns:
- Whether the question field is set.
-
getQuestion
public QuestionStats.QuestionData getQuestion()
.streamlayer.interactive.QuestionStats.QuestionData question = 2 [json_name = "question"];- Specified by:
getQuestionin interfaceQuestionStatsOrBuilder- Returns:
- The question.
-
getStatisticsList
public java.util.List<AnswerVotesStats> getStatisticsList()
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];- Specified by:
getStatisticsListin interfaceQuestionStatsOrBuilder
-
getStatisticsOrBuilderList
public java.util.List<? extends AnswerVotesStatsOrBuilder> getStatisticsOrBuilderList()
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];
-
getStatisticsCount
public int getStatisticsCount()
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];- Specified by:
getStatisticsCountin interfaceQuestionStatsOrBuilder
-
getStatistics
public AnswerVotesStats getStatistics(int index)
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];- Specified by:
getStatisticsin interfaceQuestionStatsOrBuilder
-
getStatisticsOrBuilder
public AnswerVotesStatsOrBuilder getStatisticsOrBuilder(int index)
repeated .streamlayer.interactive.AnswerVotesStats statistics = 3 [json_name = "statistics"];
-
parseFrom
public static QuestionStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionStats parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static QuestionStats.Builder newBuilder()
-
newBuilder
public static QuestionStats.Builder newBuilder(QuestionStats prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<QuestionStats,QuestionStats.Builder>
-
getDefaultInstance
public static QuestionStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionStats> parser()
-
-