SearchByTextRequest.Builder

public abstract class SearchByTextRequest.Builder


Builder for SearchByTextRequest.

Summary

Public constructors

Public methods

SearchByTextRequest
abstract @Nullable CancellationToken
abstract @Nullable EVSearchOptions
abstract @Nullable String
abstract @Nullable LocationBias
abstract @Nullable LocationRestriction
abstract @Nullable Integer
abstract @Nullable Double
abstract List<Place.Field>
abstract List<Integer>
abstract @Nullable SearchByTextRequest.RankPreference
abstract String
abstract @Nullable RoutingParameters
abstract @Nullable SearchAlongRouteParameters
abstract String
abstract boolean
abstract boolean
abstract boolean
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setLocationRestriction(
    @Nullable LocationRestriction locationRestriction
)
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setMinRating(
    @Nullable @FloatRange(from = Place.RATING_MIN_VALUE, to = Place.RATING_MAX_VALUE) Double minRating
)
abstract SearchByTextRequest.Builder
setOpenNow(boolean openNow)
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setPriceLevels(List<Integer> priceLevels)
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setRegionCode(String regionCode)
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setRoutingSummariesIncluded(boolean routingSummariesIncluded)
abstract SearchByTextRequest.Builder
abstract SearchByTextRequest.Builder
setStrictTypeFiltering(boolean strictTypeFiltering)
abstract SearchByTextRequest.Builder
setTextQuery(String textQuery)

Public constructors

Builder

public Builder()

Public methods

build

public SearchByTextRequest build()

getCancellationToken

public abstract @Nullable CancellationToken getCancellationToken()

getEvSearchOptions

public abstract @Nullable EVSearchOptions getEvSearchOptions()

getIncludedType

public abstract @Nullable String getIncludedType()

getLocationBias

public abstract @Nullable LocationBias getLocationBias()

getLocationRestriction

public abstract @Nullable LocationRestriction getLocationRestriction()

getMaxResultCount

public abstract @Nullable Integer getMaxResultCount()

getMinRating

public abstract @Nullable Double getMinRating()

getPlaceFields

public abstract List<Place.FieldgetPlaceFields()

getPriceLevels

public abstract List<IntegergetPriceLevels()

getRankPreference

public abstract @Nullable SearchByTextRequest.RankPreference getRankPreference()

getRegionCode

public abstract String getRegionCode()

getRoutingParameters

public abstract @Nullable RoutingParameters getRoutingParameters()

getSearchAlongRouteParameters

public abstract @Nullable SearchAlongRouteParameters getSearchAlongRouteParameters()

getTextQuery

public abstract String getTextQuery()

isOpenNow

public abstract boolean isOpenNow()

isRoutingSummariesIncluded

public abstract boolean isRoutingSummariesIncluded()

isStrictTypeFiltering

public abstract boolean isStrictTypeFiltering()

setCancellationToken

public abstract SearchByTextRequest.Builder setCancellationToken(@Nullable CancellationToken cancellationToken)

setEvSearchOptions

public abstract SearchByTextRequest.Builder setEvSearchOptions(@Nullable EVSearchOptions evSearchOptions)

setIncludedType

public abstract SearchByTextRequest.Builder setIncludedType(@Nullable String includedType)

setLocationBias

public abstract SearchByTextRequest.Builder setLocationBias(@Nullable LocationBias locationBias)

setLocationRestriction

public abstract SearchByTextRequest.Builder setLocationRestriction(
    @Nullable LocationRestriction locationRestriction
)

setMaxResultCount

public abstract SearchByTextRequest.Builder setMaxResultCount(@Nullable Integer maxResultCount)

setMinRating

public abstract SearchByTextRequest.Builder setMinRating(
    @Nullable @FloatRange(from = Place.RATING_MIN_VALUE, to = Place.RATING_MAX_VALUE) Double minRating
)

setOpenNow

public abstract SearchByTextRequest.Builder setOpenNow(boolean openNow)

setPlaceFields

public abstract SearchByTextRequest.Builder setPlaceFields(List<Place.Field> placeFields)

setPriceLevels

public abstract SearchByTextRequest.Builder setPriceLevels(List<Integer> priceLevels)

setRankPreference

public abstract SearchByTextRequest.Builder setRankPreference(
    @Nullable SearchByTextRequest.RankPreference rankPreference
)

setRegionCode

public abstract SearchByTextRequest.Builder setRegionCode(String regionCode)

setRoutingParameters

public abstract SearchByTextRequest.Builder setRoutingParameters(@Nullable RoutingParameters routingParameters)

setRoutingSummariesIncluded

public abstract SearchByTextRequest.Builder setRoutingSummariesIncluded(boolean routingSummariesIncluded)

setSearchAlongRouteParameters

public abstract SearchByTextRequest.Builder setSearchAlongRouteParameters(
    @Nullable SearchAlongRouteParameters searchAlongRouteParameters
)

setStrictTypeFiltering

public abstract SearchByTextRequest.Builder setStrictTypeFiltering(boolean strictTypeFiltering)

setTextQuery

public abstract SearchByTextRequest.Builder setTextQuery(String textQuery)