public static abstract class
AutocompletePrediction.Builder
extends Object
Builder for AutocompletePrediction
.
Public Constructor Summary
Builder()
|
Public Method Summary
AutocompletePrediction |
build()
Build the
AutocompletePrediction . |
abstract Integer | |
abstract String | |
abstract List<Place.Type> | |
abstract String | |
abstract String | |
abstract List<String> |
getTypes()
|
abstract AutocompletePrediction.Builder |
setDistanceMeters(Integer distanceMeters)
|
abstract AutocompletePrediction.Builder |
setFullText(String fullText)
|
abstract AutocompletePrediction.Builder | |
abstract AutocompletePrediction.Builder |
setPrimaryText(String primaryText)
|
abstract AutocompletePrediction.Builder |
setSecondaryText(String secondaryText)
|
abstract AutocompletePrediction.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public AutocompletePrediction build ()
Build the AutocompletePrediction
.
Mutable members (e.g List) will be converted to immutable versions.
public abstract AutocompletePrediction.Builder setDistanceMeters (Integer distanceMeters)
Parameters
distanceMeters |
---|
public abstract AutocompletePrediction.Builder setPlaceTypes (List<Place.Type> placeTypes)
Parameters
placeTypes |
---|
public abstract AutocompletePrediction.Builder setPrimaryText (String primaryText)
Parameters
primaryText |
---|
public abstract AutocompletePrediction.Builder setSecondaryText (String secondaryText)
Parameters
secondaryText |
---|
public abstract AutocompletePrediction.Builder setTypes (List<String> placeTypes)
Parameters
placeTypes |
---|