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.String getDate()
      when it has been posted
      com.google.protobuf.ByteString getDateBytes()
      when it has been posted
      java.lang.String getId()
      unique id
      com.google.protobuf.ByteString getIdBytes()
      unique id
      TweetMetadata getMeta()
      tweet metadata
      java.lang.String getText()
      tweet content
      com.google.protobuf.ByteString getTextBytes()
      tweet content
      boolean hasMeta()
      tweet metadata
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • 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.