Package com.streamlayer.interactive.feed
Class FeedQuestion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<FeedQuestion,FeedQuestion.Builder>
-
- com.streamlayer.interactive.feed.FeedQuestion
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FeedQuestionOrBuilder
public final class FeedQuestion extends com.google.protobuf.GeneratedMessageLite<FeedQuestion,FeedQuestion.Builder> implements FeedQuestionOrBuilder
Protobuf typestreamlayer.interactive.feed.FeedQuestion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedQuestion.BuilderProtobuf typestreamlayer.interactive.feed.FeedQuestion-
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 intFEED_ITEM_FIELD_NUMBERstatic intMODERATION_FIELD_NUMBERstatic intNOTIFICATION_FIELD_NUMBERstatic intQUESTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated 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 FeedQuestiongetDefaultInstance()FeedItemgetFeedItem().streamlayer.interactive.feed.FeedItem feed_item = 4 [json_name = "feedItem"];EventModerationgetModeration().streamlayer.interactive.EventModeration moderation = 3 [json_name = "moderation"];QuestionNotificationgetNotification()Deprecated.QuestiongetQuestion().streamlayer.interactive.Question question = 1 [json_name = "question"];booleanhasFeedItem().streamlayer.interactive.feed.FeedItem feed_item = 4 [json_name = "feedItem"];booleanhasModeration().streamlayer.interactive.EventModeration moderation = 3 [json_name = "moderation"];booleanhasNotification()Deprecated.booleanhasQuestion().streamlayer.interactive.Question question = 1 [json_name = "question"];static FeedQuestion.BuildernewBuilder()static FeedQuestion.BuildernewBuilder(FeedQuestion prototype)static FeedQuestionparseDelimitedFrom(java.io.InputStream input)static FeedQuestionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedQuestionparseFrom(byte[] data)static FeedQuestionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedQuestionparseFrom(com.google.protobuf.ByteString data)static FeedQuestionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedQuestionparseFrom(com.google.protobuf.CodedInputStream input)static FeedQuestionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedQuestionparseFrom(java.io.InputStream input)static FeedQuestionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedQuestionparseFrom(java.nio.ByteBuffer data)static FeedQuestionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FeedQuestion>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_FIELD_NUMBER
public static final int QUESTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODERATION_FIELD_NUMBER
public static final int MODERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEED_ITEM_FIELD_NUMBER
public static final int FEED_ITEM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasQuestion
public boolean hasQuestion()
.streamlayer.interactive.Question question = 1 [json_name = "question"];- Specified by:
hasQuestionin interfaceFeedQuestionOrBuilder- Returns:
- Whether the question field is set.
-
getQuestion
public Question getQuestion()
.streamlayer.interactive.Question question = 1 [json_name = "question"];- Specified by:
getQuestionin interfaceFeedQuestionOrBuilder- Returns:
- The question.
-
hasNotification
@Deprecated public boolean hasNotification()
Deprecated.deprecated, don't use
.streamlayer.interactive.QuestionNotification notification = 2 [json_name = "notification", deprecated = true];- Specified by:
hasNotificationin interfaceFeedQuestionOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
@Deprecated public QuestionNotification getNotification()
Deprecated.deprecated, don't use
.streamlayer.interactive.QuestionNotification notification = 2 [json_name = "notification", deprecated = true];- Specified by:
getNotificationin interfaceFeedQuestionOrBuilder- Returns:
- The notification.
-
hasModeration
public boolean hasModeration()
.streamlayer.interactive.EventModeration moderation = 3 [json_name = "moderation"];- Specified by:
hasModerationin interfaceFeedQuestionOrBuilder- Returns:
- Whether the moderation field is set.
-
getModeration
public EventModeration getModeration()
.streamlayer.interactive.EventModeration moderation = 3 [json_name = "moderation"];- Specified by:
getModerationin interfaceFeedQuestionOrBuilder- Returns:
- The moderation.
-
hasFeedItem
public boolean hasFeedItem()
.streamlayer.interactive.feed.FeedItem feed_item = 4 [json_name = "feedItem"];- Specified by:
hasFeedItemin interfaceFeedQuestionOrBuilder- Returns:
- Whether the feedItem field is set.
-
getFeedItem
public FeedItem getFeedItem()
.streamlayer.interactive.feed.FeedItem feed_item = 4 [json_name = "feedItem"];- Specified by:
getFeedItemin interfaceFeedQuestionOrBuilder- Returns:
- The feedItem.
-
parseFrom
public static FeedQuestion parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedQuestion parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedQuestion parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FeedQuestion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FeedQuestion parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedQuestion parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedQuestion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static FeedQuestion.Builder newBuilder()
-
newBuilder
public static FeedQuestion.Builder newBuilder(FeedQuestion 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<FeedQuestion,FeedQuestion.Builder>
-
getDefaultInstance
public static FeedQuestion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FeedQuestion> parser()
-
-