Package com.streamlayer.interactive.feed
Interface FeedItemAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FeedItemAttributes,FeedItemAttributes.Builder
public interface FeedItemAttributesOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PromotiongetAdPromotion()optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];FeedItemAttributes.AttributesCasegetAttributesCase()java.lang.StringgetCreated()string created = 8 [json_name = "created"];com.google.protobuf.ByteStringgetCreatedBytes()string created = 8 [json_name = "created"];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()optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];booleanhasInsight().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"];
-
-
-
Method Detail
-
getId
java.lang.String getId()
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- The type.
-
getStatusValue
int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 3 [json_name = "status"];- Returns:
- The status.
-
getCreated
java.lang.String getCreated()
string created = 8 [json_name = "created"];- Returns:
- The created.
-
getCreatedBytes
com.google.protobuf.ByteString getCreatedBytes()
string created = 8 [json_name = "created"];- Returns:
- The bytes for created.
-
hasQuestion
boolean hasQuestion()
.streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];- Returns:
- Whether the question field is set.
-
getQuestion
PickHistory getQuestion()
.streamlayer.interactive.feed.PickHistory question = 4 [json_name = "question"];- Returns:
- The question.
-
hasTweet
boolean hasTweet()
.streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];- Returns:
- Whether the tweet field is set.
-
getTweet
TweetHistory getTweet()
.streamlayer.interactive.feed.TweetHistory tweet = 5 [json_name = "tweet"];- Returns:
- The tweet.
-
hasInsight
boolean hasInsight()
.streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];- Returns:
- Whether the insight field is set.
-
getInsight
InsightHistory getInsight()
.streamlayer.interactive.feed.InsightHistory insight = 6 [json_name = "insight"];- Returns:
- The insight.
-
hasPromotion
boolean hasPromotion()
.streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];- Returns:
- Whether the promotion field is set.
-
getPromotion
PromotionHistory getPromotion()
.streamlayer.interactive.feed.PromotionHistory promotion = 7 [json_name = "promotion"];- Returns:
- The promotion.
-
hasAdPromotion
boolean hasAdPromotion()
optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];- Returns:
- Whether the adPromotion field is set.
-
getAdPromotion
Promotion getAdPromotion()
optional .streamlayer.interactive.Promotion ad_promotion = 9 [json_name = "adPromotion"];- Returns:
- The adPromotion.
-
getAttributesCase
FeedItemAttributes.AttributesCase getAttributesCase()
-
-