public static interface SearchPlaceIndexForTextResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForTextResponse.Builder,SearchPlaceIndexForTextResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForTextResponse.Builder |
results(Collection<SearchForTextResult> results)
A list of Places matching the input text.
|
SearchPlaceIndexForTextResponse.Builder |
results(Consumer<SearchForTextResult.Builder>... results)
A list of Places matching the input text.
|
SearchPlaceIndexForTextResponse.Builder |
results(SearchForTextResult... results)
A list of Places matching the input text.
|
default SearchPlaceIndexForTextResponse.Builder |
summary(Consumer<SearchPlaceIndexForTextSummary.Builder> summary)
Contains a summary of the request.
|
SearchPlaceIndexForTextResponse.Builder |
summary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForTextResponse.Builder results(Collection<SearchForTextResult> results)
A list of Places matching the input text. Each result contains additional information about the specific point of interest.
results - A list of Places matching the input text. Each result contains additional information about the
specific point of interest.SearchPlaceIndexForTextResponse.Builder results(SearchForTextResult... results)
A list of Places matching the input text. Each result contains additional information about the specific point of interest.
results - A list of Places matching the input text. Each result contains additional information about the
specific point of interest.SearchPlaceIndexForTextResponse.Builder results(Consumer<SearchForTextResult.Builder>... results)
A list of Places matching the input text. Each result contains additional information about the specific point of interest.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #results(List) .results - a consumer that will call methods on List.Builder #results(List) 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.
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.default SearchPlaceIndexForTextResponse.Builder summary(Consumer<SearchPlaceIndexForTextSummary.Builder> 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.
SearchPlaceIndexForTextSummary.Builder
avoiding the need to create one manually via SearchPlaceIndexForTextSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to summary(SearchPlaceIndexForTextSummary).summary - a consumer that will call methods on SearchPlaceIndexForTextSummary.Buildersummary(SearchPlaceIndexForTextSummary)Copyright © 2022. All rights reserved.