Interface SuggestionHighlight.Builder

    • Method Detail

      • beginOffset

        SuggestionHighlight.Builder beginOffset​(Integer beginOffset)

        The zero-based location in the response string where the highlight starts.

        Parameters:
        beginOffset - The zero-based location in the response string where the highlight starts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffset

        SuggestionHighlight.Builder endOffset​(Integer endOffset)

        The zero-based location in the response string where the highlight ends.

        Parameters:
        endOffset - The zero-based location in the response string where the highlight ends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.