Interface TableCell.Builder

    • Method Detail

      • value

        TableCell.Builder value​(String value)

        The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.

        Parameters:
        value - The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topAnswer

        TableCell.Builder topAnswer​(Boolean topAnswer)

        TRUE if the response of the table cell is the top answer. This is the cell value or content with the highest confidence score or is the most relevant to the query.

        Parameters:
        topAnswer - TRUE if the response of the table cell is the top answer. This is the cell value or content with the highest confidence score or is the most relevant to the query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • highlighted

        TableCell.Builder highlighted​(Boolean highlighted)

        TRUE means that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.

        Parameters:
        highlighted - TRUE means that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • header

        TableCell.Builder header​(Boolean header)

        TRUE means that the table cell should be treated as a header.

        Parameters:
        header - TRUE means that the table cell should be treated as a header.
        Returns:
        Returns a reference to this object so that method calls can be chained together.