Package com.streamlayer.interactive.feed
Interface FeedItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FeedItem,FeedItem.Builder
public interface FeedItemOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeedItemAttributesgetAttributes().streamlayer.interactive.feed.FeedItemAttributes attributes = 3 [json_name = "attributes"];java.lang.StringgetId()question_idcom.google.protobuf.ByteStringgetIdBytes()question_idjava.lang.StringgetType()question | tweet | insight | promotioncom.google.protobuf.ByteStringgetTypeBytes()question | tweet | insight | promotionbooleanhasAttributes().streamlayer.interactive.feed.FeedItemAttributes attributes = 3 [json_name = "attributes"];
-
-
-
Method Detail
-
getId
java.lang.String getId()
question_id
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
question_id
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getType
java.lang.String getType()
question | tweet | insight | promotion
string type = 2 [json_name = "type"];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
question | tweet | insight | promotion
string type = 2 [json_name = "type"];- Returns:
- The bytes for type.
-
hasAttributes
boolean hasAttributes()
.streamlayer.interactive.feed.FeedItemAttributes attributes = 3 [json_name = "attributes"];- Returns:
- Whether the attributes field is set.
-
getAttributes
FeedItemAttributes getAttributes()
.streamlayer.interactive.feed.FeedItemAttributes attributes = 3 [json_name = "attributes"];- Returns:
- The attributes.
-
-