Class ModerationVote
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<ModerationVote,ModerationVote.Builder>
-
- com.streamlayer.interactive.studio.ModerationVote
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,ModerationVoteOrBuilder
public final class ModerationVote extends com.google.protobuf.GeneratedMessageLite<ModerationVote,ModerationVote.Builder> implements ModerationVoteOrBuilder
Protobuf typestreamlayer.interactive.studio.ModerationVote
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModerationVote.BuilderProtobuf typestreamlayer.interactive.studio.ModerationVote-
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 intCORRECT_FIELD_NUMBERstatic intQUESTION_ID_FIELD_NUMBERstatic intVOTED_COUNT_FIELD_NUMBERstatic intVOTED_PERCENTAGE_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;com.google.protobuf.ByteStringgetAnswerIdBytes()string answer_id = 2;booleangetCorrect()bool correct = 5;static ModerationVotegetDefaultInstance()java.lang.StringgetQuestionId()string question_id = 1;com.google.protobuf.ByteStringgetQuestionIdBytes()string question_id = 1;intgetVotedCount()int32 voted_count = 3;intgetVotedPercentage()int32 voted_percentage = 4;static ModerationVote.BuildernewBuilder()static ModerationVote.BuildernewBuilder(ModerationVote prototype)static ModerationVoteparseDelimitedFrom(java.io.InputStream input)static ModerationVoteparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModerationVoteparseFrom(byte[] data)static ModerationVoteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModerationVoteparseFrom(com.google.protobuf.ByteString data)static ModerationVoteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModerationVoteparseFrom(com.google.protobuf.CodedInputStream input)static ModerationVoteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModerationVoteparseFrom(java.io.InputStream input)static ModerationVoteparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModerationVoteparseFrom(java.nio.ByteBuffer data)static ModerationVoteparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModerationVote>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, 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
-
VOTED_COUNT_FIELD_NUMBER
public static final int VOTED_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOTED_PERCENTAGE_FIELD_NUMBER
public static final int VOTED_PERCENTAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CORRECT_FIELD_NUMBER
public static final int CORRECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getQuestionId
public java.lang.String getQuestionId()
string question_id = 1;- Specified by:
getQuestionIdin interfaceModerationVoteOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
string question_id = 1;- Specified by:
getQuestionIdBytesin interfaceModerationVoteOrBuilder- Returns:
- The bytes for questionId.
-
getAnswerId
public java.lang.String getAnswerId()
string answer_id = 2;- Specified by:
getAnswerIdin interfaceModerationVoteOrBuilder- Returns:
- The answerId.
-
getAnswerIdBytes
public com.google.protobuf.ByteString getAnswerIdBytes()
string answer_id = 2;- Specified by:
getAnswerIdBytesin interfaceModerationVoteOrBuilder- Returns:
- The bytes for answerId.
-
getVotedCount
public int getVotedCount()
int32 voted_count = 3;- Specified by:
getVotedCountin interfaceModerationVoteOrBuilder- Returns:
- The votedCount.
-
getVotedPercentage
public int getVotedPercentage()
int32 voted_percentage = 4;- Specified by:
getVotedPercentagein interfaceModerationVoteOrBuilder- Returns:
- The votedPercentage.
-
getCorrect
public boolean getCorrect()
bool correct = 5;- Specified by:
getCorrectin interfaceModerationVoteOrBuilder- Returns:
- The correct.
-
parseFrom
public static ModerationVote parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModerationVote parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModerationVote parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModerationVote parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ModerationVote parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModerationVote parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ModerationVote parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static ModerationVote.Builder newBuilder()
-
newBuilder
public static ModerationVote.Builder newBuilder(ModerationVote 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<ModerationVote,ModerationVote.Builder>
-
getDefaultInstance
public static ModerationVote getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModerationVote> parser()
-
-