Package com.streamlayer.social
Interface TweetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Tweet,Tweet.Builder
public interface TweetOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDate()when it has been postedcom.google.protobuf.ByteStringgetDateBytes()when it has been postedjava.lang.StringgetId()unique idcom.google.protobuf.ByteStringgetIdBytes()unique idTweetMetadatagetMeta()tweet metadatajava.lang.StringgetText()tweet contentcom.google.protobuf.ByteStringgetTextBytes()tweet contentbooleanhasMeta()tweet metadata
-
-
-
Method Detail
-
getId
java.lang.String getId()
unique id
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
unique id
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getDate
java.lang.String getDate()
when it has been posted
string date = 2 [json_name = "date"];- Returns:
- The date.
-
getDateBytes
com.google.protobuf.ByteString getDateBytes()
when it has been posted
string date = 2 [json_name = "date"];- Returns:
- The bytes for date.
-
getText
java.lang.String getText()
tweet content
string text = 3 [json_name = "text"];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
tweet content
string text = 3 [json_name = "text"];- Returns:
- The bytes for text.
-
hasMeta
boolean hasMeta()
tweet metadata
.streamlayer.social.TweetMetadata meta = 4 [json_name = "meta"];- Returns:
- Whether the meta field is set.
-
getMeta
TweetMetadata getMeta()
tweet metadata
.streamlayer.social.TweetMetadata meta = 4 [json_name = "meta"];- Returns:
- The meta.
-
-