Class TweetMetadata.Builder

    • Method Detail

      • getIdStrBytes

        public com.google.protobuf.ByteString getIdStrBytes()
        string id_str = 1;
        Specified by:
        getIdStrBytes in interface TweetMetadataOrBuilder
        Returns:
        The bytes for idStr.
      • setIdStr

        public TweetMetadata.Builder setIdStr​(java.lang.String value)
        string id_str = 1;
        Parameters:
        value - The idStr to set.
        Returns:
        This builder for chaining.
      • clearIdStr

        public TweetMetadata.Builder clearIdStr()
        string id_str = 1;
        Returns:
        This builder for chaining.
      • setIdStrBytes

        public TweetMetadata.Builder setIdStrBytes​(com.google.protobuf.ByteString value)
        string id_str = 1;
        Parameters:
        value - The bytes for idStr to set.
        Returns:
        This builder for chaining.
      • getAccountBytes

        public com.google.protobuf.ByteString getAccountBytes()
        string account = 2;
        Specified by:
        getAccountBytes in interface TweetMetadataOrBuilder
        Returns:
        The bytes for account.
      • setAccount

        public TweetMetadata.Builder setAccount​(java.lang.String value)
        string account = 2;
        Parameters:
        value - The account to set.
        Returns:
        This builder for chaining.
      • clearAccount

        public TweetMetadata.Builder clearAccount()
        string account = 2;
        Returns:
        This builder for chaining.
      • setAccountBytes

        public TweetMetadata.Builder setAccountBytes​(com.google.protobuf.ByteString value)
        string account = 2;
        Parameters:
        value - The bytes for account to set.
        Returns:
        This builder for chaining.
      • getAccountIdBytes

        public com.google.protobuf.ByteString getAccountIdBytes()
        string account_id = 3;
        Specified by:
        getAccountIdBytes in interface TweetMetadataOrBuilder
        Returns:
        The bytes for accountId.
      • setAccountId

        public TweetMetadata.Builder setAccountId​(java.lang.String value)
        string account_id = 3;
        Parameters:
        value - The accountId to set.
        Returns:
        This builder for chaining.
      • clearAccountId

        public TweetMetadata.Builder clearAccountId()
        string account_id = 3;
        Returns:
        This builder for chaining.
      • setAccountIdBytes

        public TweetMetadata.Builder setAccountIdBytes​(com.google.protobuf.ByteString value)
        string account_id = 3;
        Parameters:
        value - The bytes for accountId to set.
        Returns:
        This builder for chaining.
      • getAccountImageBytes

        public com.google.protobuf.ByteString getAccountImageBytes()
        string account_image = 4;
        Specified by:
        getAccountImageBytes in interface TweetMetadataOrBuilder
        Returns:
        The bytes for accountImage.
      • setAccountImage

        public TweetMetadata.Builder setAccountImage​(java.lang.String value)
        string account_image = 4;
        Parameters:
        value - The accountImage to set.
        Returns:
        This builder for chaining.
      • clearAccountImage

        public TweetMetadata.Builder clearAccountImage()
        string account_image = 4;
        Returns:
        This builder for chaining.
      • setAccountImageBytes

        public TweetMetadata.Builder setAccountImageBytes​(com.google.protobuf.ByteString value)
        string account_image = 4;
        Parameters:
        value - The bytes for accountImage to set.
        Returns:
        This builder for chaining.
      • getAccountNameBytes

        public com.google.protobuf.ByteString getAccountNameBytes()
        string account_name = 8;
        Specified by:
        getAccountNameBytes in interface TweetMetadataOrBuilder
        Returns:
        The bytes for accountName.
      • setAccountName

        public TweetMetadata.Builder setAccountName​(java.lang.String value)
        string account_name = 8;
        Parameters:
        value - The accountName to set.
        Returns:
        This builder for chaining.
      • clearAccountName

        public TweetMetadata.Builder clearAccountName()
        string account_name = 8;
        Returns:
        This builder for chaining.
      • setAccountNameBytes

        public TweetMetadata.Builder setAccountNameBytes​(com.google.protobuf.ByteString value)
        string account_name = 8;
        Parameters:
        value - The bytes for accountName to set.
        Returns:
        This builder for chaining.
      • setAccountVerified

        public TweetMetadata.Builder setAccountVerified​(boolean value)
        bool account_verified = 9;
        Parameters:
        value - The accountVerified to set.
        Returns:
        This builder for chaining.
      • clearAccountVerified

        public TweetMetadata.Builder clearAccountVerified()
        bool account_verified = 9;
        Returns:
        This builder for chaining.
      • hasRetweetedStatus

        public boolean hasRetweetedStatus()
        .streamlayer.social.Tweet retweeted_status = 5;
        Specified by:
        hasRetweetedStatus in interface TweetMetadataOrBuilder
        Returns:
        Whether the retweetedStatus field is set.
      • setRetweetedStatus

        public TweetMetadata.Builder setRetweetedStatus​(Tweet value)
        .streamlayer.social.Tweet retweeted_status = 5;
      • mergeRetweetedStatus

        public TweetMetadata.Builder mergeRetweetedStatus​(Tweet value)
        .streamlayer.social.Tweet retweeted_status = 5;
      • clearRetweetedStatus

        public TweetMetadata.Builder clearRetweetedStatus()
        .streamlayer.social.Tweet retweeted_status = 5;
      • hasEntities

        public boolean hasEntities()
        .streamlayer.social.TweetMetadata.TweetEntities entities = 6;
        Specified by:
        hasEntities in interface TweetMetadataOrBuilder
        Returns:
        Whether the entities field is set.
      • clearEntities

        public TweetMetadata.Builder clearEntities()
        .streamlayer.social.TweetMetadata.TweetEntities entities = 6;
      • hasExtendedEntities

        public boolean hasExtendedEntities()
        .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7;
        Specified by:
        hasExtendedEntities in interface TweetMetadataOrBuilder
        Returns:
        Whether the extendedEntities field is set.
      • clearExtendedEntities

        public TweetMetadata.Builder clearExtendedEntities()
        .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7;
      • setRetweetCount

        public TweetMetadata.Builder setRetweetCount​(long value)
        uint64 retweet_count = 10;
        Parameters:
        value - The retweetCount to set.
        Returns:
        This builder for chaining.
      • clearRetweetCount

        public TweetMetadata.Builder clearRetweetCount()
        uint64 retweet_count = 10;
        Returns:
        This builder for chaining.
      • setFavoriteCount

        public TweetMetadata.Builder setFavoriteCount​(long value)
        uint64 favorite_count = 11;
        Parameters:
        value - The favoriteCount to set.
        Returns:
        This builder for chaining.
      • clearFavoriteCount

        public TweetMetadata.Builder clearFavoriteCount()
        uint64 favorite_count = 11;
        Returns:
        This builder for chaining.