public class QueryAutocompletePrediction
extends java.lang.Object
Please see Query Autocomplete Responses for more detail.
Modifier and Type | Class and Description |
---|---|
static class |
QueryAutocompletePrediction.MatchedSubstring
MatchedSubstring describes the location of the entered term in the prediction result text, so
that the term can be highlighted if desired.
|
static class |
QueryAutocompletePrediction.Term
Term identifies each section of the returned description (a section of the description is
generally terminated with a comma).
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description
Description of the matched prediction.
|
QueryAutocompletePrediction.MatchedSubstring[] |
matchedSubstrings |
java.lang.String |
placeId
The Place ID of the place.
|
QueryAutocompletePrediction.Term[] |
terms
terms contains an array of terms identifying each section of the returned description (a section
of the description is generally terminated with a comma).
|
java.lang.String[] |
types
types is an array indicating the type of the address component.
|
Constructor and Description |
---|
QueryAutocompletePrediction() |
public java.lang.String description
public java.lang.String placeId
public java.lang.String[] types
Please see supported types for a list of types that can be returned.
public QueryAutocompletePrediction.Term[] terms
public QueryAutocompletePrediction.MatchedSubstring[] matchedSubstrings