Interface SearchPlaceIndexForTextResponse.Builder

    • Method Detail

      • summary

        SearchPlaceIndexForTextResponse.Builder summary​(SearchPlaceIndexForTextSummary summary)

        Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.

        Parameters:
        summary - Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • results

        SearchPlaceIndexForTextResponse.Builder results​(Collection<SearchForTextResult> results)

        A list of Places matching the input text. Each result contains additional information about the specific point of interest.

        Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

        Parameters:
        results - A list of Places matching the input text. Each result contains additional information about the specific point of interest.

        Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • results

        SearchPlaceIndexForTextResponse.Builder results​(SearchForTextResult... results)

        A list of Places matching the input text. Each result contains additional information about the specific point of interest.

        Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

        Parameters:
        results - A list of Places matching the input text. Each result contains additional information about the specific point of interest.

        Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

        Returns:
        Returns a reference to this object so that method calls can be chained together.