Package com.streamlayer.interactive.feed
Class PickHistory
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<PickHistory,PickHistory.Builder>
-
- com.streamlayer.interactive.feed.PickHistory
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,PickHistoryOrBuilder
public final class PickHistory extends com.google.protobuf.GeneratedMessageLite<PickHistory,PickHistory.Builder> implements PickHistoryOrBuilder
Protobuf typestreamlayer.interactive.feed.PickHistory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPickHistory.BuilderProtobuf typestreamlayer.interactive.feed.PickHistory-
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 intANSWER_ID_FIELD_NUMBERstatic intOPEN_FOR_VOTING_FIELD_NUMBERstatic intQUESTION_ID_FIELD_NUMBERstatic intQUESTION_STATUS_FIELD_NUMBERstatic intQUESTION_TYPE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSUBJECT_FIELD_NUMBERstatic intTEXT_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)java.lang.StringgetAnswerId()string answer_id = 2 [json_name = "answerId"];com.google.protobuf.ByteStringgetAnswerIdBytes()string answer_id = 2 [json_name = "answerId"];static PickHistorygetDefaultInstance()booleangetOpenForVoting()bool open_for_voting = 7 [json_name = "openForVoting"];java.lang.StringgetQuestionId()string question_id = 1 [json_name = "questionId"];com.google.protobuf.ByteStringgetQuestionIdBytes()string question_id = 1 [json_name = "questionId"];QuestionStatusgetQuestionStatus().streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];intgetQuestionStatusValue().streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];QuestionTypegetQuestionType().streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];intgetQuestionTypeValue().streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];PickHistoryStatusgetStatus().streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];intgetStatusValue().streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];java.lang.StringgetSubject()question textcom.google.protobuf.ByteStringgetSubjectBytes()question textjava.lang.StringgetText()answer textcom.google.protobuf.ByteStringgetTextBytes()answer textstatic PickHistory.BuildernewBuilder()static PickHistory.BuildernewBuilder(PickHistory prototype)static PickHistoryparseDelimitedFrom(java.io.InputStream input)static PickHistoryparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PickHistoryparseFrom(byte[] data)static PickHistoryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PickHistoryparseFrom(com.google.protobuf.ByteString data)static PickHistoryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PickHistoryparseFrom(com.google.protobuf.CodedInputStream input)static PickHistoryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PickHistoryparseFrom(java.io.InputStream input)static PickHistoryparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PickHistoryparseFrom(java.nio.ByteBuffer data)static PickHistoryparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PickHistory>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
-
QUESTION_ID_FIELD_NUMBER
public static final int QUESTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANSWER_ID_FIELD_NUMBER
public static final int ANSWER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUESTION_TYPE_FIELD_NUMBER
public static final int QUESTION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPEN_FOR_VOTING_FIELD_NUMBER
public static final int OPEN_FOR_VOTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUESTION_STATUS_FIELD_NUMBER
public static final int QUESTION_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getQuestionId
public java.lang.String getQuestionId()
string question_id = 1 [json_name = "questionId"];- Specified by:
getQuestionIdin interfacePickHistoryOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
string question_id = 1 [json_name = "questionId"];- Specified by:
getQuestionIdBytesin interfacePickHistoryOrBuilder- Returns:
- The bytes for questionId.
-
getAnswerId
public java.lang.String getAnswerId()
string answer_id = 2 [json_name = "answerId"];- Specified by:
getAnswerIdin interfacePickHistoryOrBuilder- Returns:
- The answerId.
-
getAnswerIdBytes
public com.google.protobuf.ByteString getAnswerIdBytes()
string answer_id = 2 [json_name = "answerId"];- Specified by:
getAnswerIdBytesin interfacePickHistoryOrBuilder- Returns:
- The bytes for answerId.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];- Specified by:
getStatusValuein interfacePickHistoryOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public PickHistoryStatus getStatus()
.streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];- Specified by:
getStatusin interfacePickHistoryOrBuilder- Returns:
- The status.
-
getQuestionTypeValue
public int getQuestionTypeValue()
.streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];- Specified by:
getQuestionTypeValuein interfacePickHistoryOrBuilder- Returns:
- The enum numeric value on the wire for questionType.
-
getQuestionType
public QuestionType getQuestionType()
.streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];- Specified by:
getQuestionTypein interfacePickHistoryOrBuilder- Returns:
- The questionType.
-
getSubject
public java.lang.String getSubject()
question text
string subject = 5 [json_name = "subject"];- Specified by:
getSubjectin interfacePickHistoryOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
question text
string subject = 5 [json_name = "subject"];- Specified by:
getSubjectBytesin interfacePickHistoryOrBuilder- Returns:
- The bytes for subject.
-
getText
public java.lang.String getText()
answer text
string text = 6 [json_name = "text"];- Specified by:
getTextin interfacePickHistoryOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
answer text
string text = 6 [json_name = "text"];- Specified by:
getTextBytesin interfacePickHistoryOrBuilder- Returns:
- The bytes for text.
-
getOpenForVoting
public boolean getOpenForVoting()
bool open_for_voting = 7 [json_name = "openForVoting"];- Specified by:
getOpenForVotingin interfacePickHistoryOrBuilder- Returns:
- The openForVoting.
-
getQuestionStatusValue
public int getQuestionStatusValue()
.streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];- Specified by:
getQuestionStatusValuein interfacePickHistoryOrBuilder- Returns:
- The enum numeric value on the wire for questionStatus.
-
getQuestionStatus
public QuestionStatus getQuestionStatus()
.streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];- Specified by:
getQuestionStatusin interfacePickHistoryOrBuilder- Returns:
- The questionStatus.
-
parseFrom
public static PickHistory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PickHistory parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PickHistory parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PickHistory parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PickHistory parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PickHistory parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PickHistory parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static PickHistory.Builder newBuilder()
-
newBuilder
public static PickHistory.Builder newBuilder(PickHistory 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<PickHistory,PickHistory.Builder>
-
getDefaultInstance
public static PickHistory getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PickHistory> parser()
-
-