Interface DocumentCharLocation.Builder

    • Method Detail

      • documentIndex

        DocumentCharLocation.Builder documentIndex​(Integer documentIndex)

        The index of the document within the array of documents provided in the request.

        Parameters:
        documentIndex - The index of the document within the array of documents provided in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • start

        DocumentCharLocation.Builder start​(Integer start)

        The starting character position of the cited content within the document.

        Parameters:
        start - The starting character position of the cited content within the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • end

        DocumentCharLocation.Builder end​(Integer end)

        The ending character position of the cited content within the document.

        Parameters:
        end - The ending character position of the cited content within the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.