Package com.streamlayer.interactive.feed
Class FeedItemAttributes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<FeedItemAttributes,FeedItemAttributes.Builder>
-
- com.streamlayer.interactive.feed.FeedItemAttributes
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FeedItemAttributesOrBuilder
public final class FeedItemAttributes extends com.google.protobuf.GeneratedMessageLite<FeedItemAttributes,FeedItemAttributes.Builder> implements FeedItemAttributesOrBuilder
Protobuf typestreamlayer.interactive.feed.FeedItemAttributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeedItemAttributes.AttributesCasestatic classFeedItemAttributes.BuilderProtobuf typestreamlayer.interactive.feed.FeedItemAttributes-
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 intAD_PROMOTION_FIELD_NUMBERstatic intAD_UNIT_FIELD_NUMBERstatic intCREATED_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINSIGHT_FIELD_NUMBERstatic intPROMOTION_FIELD_NUMBERstatic intQUESTION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTWEET_FIELD_NUMBERstatic intTYPE_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)PromotiongetAdPromotion()check mapping on backendAdUnitgetAdUnit().streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];intgetAdUnitValue().streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];FeedItemAttributes.AttributesCasegetAttributesCase()java.lang.StringgetCreated()string created = 8 [json_name = "created"];com.google.protobuf.ByteStringgetCreatedBytes()string created = 8 [json_name = "created"];static FeedItemAttributesgetDefaultInstance()java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];InsightHistorygetInsight().streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];PromotionHistorygetPromotion().streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];PickHistorygetQuestion().streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];intgetStatusValue().streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];TweetHistorygetTweet().streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasAdPromotion()check mapping on backendbooleanhasInsight().streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];booleanhasPromotion().streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];booleanhasQuestion().streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];booleanhasTweet().streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];static FeedItemAttributes.BuildernewBuilder()static FeedItemAttributes.BuildernewBuilder(FeedItemAttributes prototype)static FeedItemAttributesparseDelimitedFrom(java.io.InputStream input)static FeedItemAttributesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedItemAttributesparseFrom(byte[] data)static FeedItemAttributesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedItemAttributesparseFrom(com.google.protobuf.ByteString data)static FeedItemAttributesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedItemAttributesparseFrom(com.google.protobuf.CodedInputStream input)static FeedItemAttributesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedItemAttributesparseFrom(java.io.InputStream input)static FeedItemAttributesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeedItemAttributesparseFrom(java.nio.ByteBuffer data)static FeedItemAttributesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FeedItemAttributes>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
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_FIELD_NUMBER
public static final int CREATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_UNIT_FIELD_NUMBER
public static final int AD_UNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUESTION_FIELD_NUMBER
public static final int QUESTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TWEET_FIELD_NUMBER
public static final int TWEET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSIGHT_FIELD_NUMBER
public static final int INSIGHT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FIELD_NUMBER
public static final int PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AD_PROMOTION_FIELD_NUMBER
public static final int AD_PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAttributesCase
public FeedItemAttributes.AttributesCase getAttributesCase()
- Specified by:
getAttributesCasein interfaceFeedItemAttributesOrBuilder
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceFeedItemAttributesOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceFeedItemAttributesOrBuilder- Returns:
- The bytes for id.
-
getTypeValue
public int getTypeValue()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypeValuein interfaceFeedItemAttributesOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceFeedItemAttributesOrBuilder- Returns:
- The type.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];- Specified by:
getStatusValuein interfaceFeedItemAttributesOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];- Specified by:
getStatusin interfaceFeedItemAttributesOrBuilder- Returns:
- The status.
-
getCreated
public java.lang.String getCreated()
string created = 8 [json_name = "created"];- Specified by:
getCreatedin interfaceFeedItemAttributesOrBuilder- Returns:
- The created.
-
getCreatedBytes
public com.google.protobuf.ByteString getCreatedBytes()
string created = 8 [json_name = "created"];- Specified by:
getCreatedBytesin interfaceFeedItemAttributesOrBuilder- Returns:
- The bytes for created.
-
getAdUnitValue
public int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];- Specified by:
getAdUnitValuein interfaceFeedItemAttributesOrBuilder- Returns:
- The enum numeric value on the wire for adUnit.
-
getAdUnit
public AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 10 [json_name = "adUnit"];- Specified by:
getAdUnitin interfaceFeedItemAttributesOrBuilder- Returns:
- The adUnit.
-
hasQuestion
public boolean hasQuestion()
.streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];- Specified by:
hasQuestionin interfaceFeedItemAttributesOrBuilder- Returns:
- Whether the question field is set.
-
getQuestion
public PickHistory getQuestion()
.streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];- Specified by:
getQuestionin interfaceFeedItemAttributesOrBuilder- Returns:
- The question.
-
hasTweet
public boolean hasTweet()
.streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];- Specified by:
hasTweetin interfaceFeedItemAttributesOrBuilder- Returns:
- Whether the tweet field is set.
-
getTweet
public TweetHistory getTweet()
.streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];- Specified by:
getTweetin interfaceFeedItemAttributesOrBuilder- Returns:
- The tweet.
-
hasInsight
public boolean hasInsight()
.streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];- Specified by:
hasInsightin interfaceFeedItemAttributesOrBuilder- Returns:
- Whether the insight field is set.
-
getInsight
public InsightHistory getInsight()
.streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];- Specified by:
getInsightin interfaceFeedItemAttributesOrBuilder- Returns:
- The insight.
-
hasPromotion
public boolean hasPromotion()
.streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceFeedItemAttributesOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public PromotionHistory getPromotion()
.streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];- Specified by:
getPromotionin interfaceFeedItemAttributesOrBuilder- Returns:
- The promotion.
-
hasAdPromotion
public boolean hasAdPromotion()
check mapping on backend
optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];- Specified by:
hasAdPromotionin interfaceFeedItemAttributesOrBuilder- Returns:
- Whether the adPromotion field is set.
-
getAdPromotion
public Promotion getAdPromotion()
check mapping on backend
optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];- Specified by:
getAdPromotionin interfaceFeedItemAttributesOrBuilder- Returns:
- The adPromotion.
-
parseFrom
public static FeedItemAttributes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeedItemAttributes parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedItemAttributes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FeedItemAttributes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FeedItemAttributes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedItemAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FeedItemAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static FeedItemAttributes.Builder newBuilder()
-
newBuilder
public static FeedItemAttributes.Builder newBuilder(FeedItemAttributes 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<FeedItemAttributes,FeedItemAttributes.Builder>
-
getDefaultInstance
public static FeedItemAttributes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FeedItemAttributes> parser()
-
-