SearchNearbyRequest.Builder

public abstract class SearchNearbyRequest.Builder


Builder for SearchNearbyRequest.

Summary

Public constructors

Public methods

SearchNearbyRequest
abstract @Nullable CancellationToken
abstract @Nullable List<String>
abstract @Nullable List<String>
abstract @Nullable List<String>
abstract @Nullable List<String>
abstract LocationRestriction
abstract @Nullable Integer
abstract List<Place.Field>
abstract @Nullable SearchNearbyRequest.RankPreference
abstract @Nullable String
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
setExcludedPrimaryTypes(@Nullable List<String> excludedPrimaryTypes)
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
setIncludedPrimaryTypes(@Nullable List<String> includedPrimaryTypes)
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder
abstract SearchNearbyRequest.Builder

Public constructors

Builder

public Builder()

Public methods

build

public SearchNearbyRequest build()

getCancellationToken

public abstract @Nullable CancellationToken getCancellationToken()

getExcludedPrimaryTypes

public abstract @Nullable List<StringgetExcludedPrimaryTypes()

getExcludedTypes

public abstract @Nullable List<StringgetExcludedTypes()

getIncludedPrimaryTypes

public abstract @Nullable List<StringgetIncludedPrimaryTypes()

getIncludedTypes

public abstract @Nullable List<StringgetIncludedTypes()

getLocationRestriction

public abstract LocationRestriction getLocationRestriction()

getMaxResultCount

public abstract @Nullable Integer getMaxResultCount()

getPlaceFields

public abstract List<Place.FieldgetPlaceFields()

getRankPreference

public abstract @Nullable SearchNearbyRequest.RankPreference getRankPreference()

getRegionCode

public abstract @Nullable String getRegionCode()

setCancellationToken

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

setExcludedPrimaryTypes

public abstract SearchNearbyRequest.Builder setExcludedPrimaryTypes(@Nullable List<String> excludedPrimaryTypes)

setExcludedTypes

public abstract SearchNearbyRequest.Builder setExcludedTypes(@Nullable List<String> excludedTypes)

setIncludedPrimaryTypes

public abstract SearchNearbyRequest.Builder setIncludedPrimaryTypes(@Nullable List<String> includedPrimaryTypes)

setIncludedTypes

public abstract SearchNearbyRequest.Builder setIncludedTypes(@Nullable List<String> includedTypes)

setLocationRestriction

public abstract SearchNearbyRequest.Builder setLocationRestriction(LocationRestriction locationRestriction)

setMaxResultCount

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

setPlaceFields

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

setRankPreference

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

setRegionCode

public abstract SearchNearbyRequest.Builder setRegionCode(@Nullable String regionCode)