Class TweetHashtags.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TweetHashtags.Builder addAllIndices​(java.lang.Iterable<? extends java.lang.Integer> values)
      repeated int32 indices = 2 [json_name = "indices"];
      TweetHashtags.Builder addIndices​(int value)
      repeated int32 indices = 2 [json_name = "indices"];
      TweetHashtags.Builder clearIndices()
      repeated int32 indices = 2 [json_name = "indices"];
      TweetHashtags.Builder clearText()
      string text = 1 [json_name = "text"];
      int getIndices​(int index)
      repeated int32 indices = 2 [json_name = "indices"];
      int getIndicesCount()
      repeated int32 indices = 2 [json_name = "indices"];
      java.util.List<java.lang.Integer> getIndicesList()
      repeated int32 indices = 2 [json_name = "indices"];
      java.lang.String getText()
      string text = 1 [json_name = "text"];
      com.google.protobuf.ByteString getTextBytes()
      string text = 1 [json_name = "text"];
      TweetHashtags.Builder setIndices​(int index, int value)
      repeated int32 indices = 2 [json_name = "indices"];
      TweetHashtags.Builder setText​(java.lang.String value)
      string text = 1 [json_name = "text"];
      TweetHashtags.Builder setTextBytes​(com.google.protobuf.ByteString value)
      string text = 1 [json_name = "text"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getText

        public java.lang.String getText()
        string text = 1 [json_name = "text"];
        Specified by:
        getText in interface TweetHashtagsOrBuilder
        Returns:
        The text.
      • getTextBytes

        public com.google.protobuf.ByteString getTextBytes()
        string text = 1 [json_name = "text"];
        Specified by:
        getTextBytes in interface TweetHashtagsOrBuilder
        Returns:
        The bytes for text.
      • setText

        public TweetHashtags.Builder setText​(java.lang.String value)
        string text = 1 [json_name = "text"];
        Parameters:
        value - The text to set.
        Returns:
        This builder for chaining.
      • clearText

        public TweetHashtags.Builder clearText()
        string text = 1 [json_name = "text"];
        Returns:
        This builder for chaining.
      • setTextBytes

        public TweetHashtags.Builder setTextBytes​(com.google.protobuf.ByteString value)
        string text = 1 [json_name = "text"];
        Parameters:
        value - The bytes for text to set.
        Returns:
        This builder for chaining.
      • getIndicesList

        public java.util.List<java.lang.Integer> getIndicesList()
        repeated int32 indices = 2 [json_name = "indices"];
        Specified by:
        getIndicesList in interface TweetHashtagsOrBuilder
        Returns:
        A list containing the indices.
      • getIndicesCount

        public int getIndicesCount()
        repeated int32 indices = 2 [json_name = "indices"];
        Specified by:
        getIndicesCount in interface TweetHashtagsOrBuilder
        Returns:
        The count of indices.
      • getIndices

        public int getIndices​(int index)
        repeated int32 indices = 2 [json_name = "indices"];
        Specified by:
        getIndices in interface TweetHashtagsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The indices at the given index.
      • setIndices

        public TweetHashtags.Builder setIndices​(int index,
                                                int value)
        repeated int32 indices = 2 [json_name = "indices"];
        Parameters:
        value - The indices to set.
        Returns:
        This builder for chaining.
      • addIndices

        public TweetHashtags.Builder addIndices​(int value)
        repeated int32 indices = 2 [json_name = "indices"];
        Parameters:
        value - The indices to add.
        Returns:
        This builder for chaining.
      • addAllIndices

        public TweetHashtags.Builder addAllIndices​(java.lang.Iterable<? extends java.lang.Integer> values)
        repeated int32 indices = 2 [json_name = "indices"];
        Parameters:
        values - The indices to add.
        Returns:
        This builder for chaining.
      • clearIndices

        public TweetHashtags.Builder clearIndices()
        repeated int32 indices = 2 [json_name = "indices"];
        Returns:
        This builder for chaining.