Serialized Form
-
Package com.google.maps
-
Class com.google.maps.ImageResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
contentType
java.lang.String contentType
The Content-Type header of the returned result. -
imageData
byte[] imageData
The image data from the Photos API call.
-
-
Class com.google.maps.PlaceAutocompleteRequest.SessionToken extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
uuid
java.util.UUID uuid
-
-
-
Package com.google.maps.errors
-
Class com.google.maps.errors.AccessNotConfiguredException extends ApiException implements Serializable
- serialVersionUID:
- -9167434506751721386L
-
Class com.google.maps.errors.ApiException extends java.lang.Exception implements Serializable
- serialVersionUID:
- -6550606366694345191L
-
Class com.google.maps.errors.InvalidRequestException extends ApiException implements Serializable
- serialVersionUID:
- -5682669561780594333L
-
Class com.google.maps.errors.MaxElementsExceededException extends ApiException implements Serializable
- serialVersionUID:
- 5926526363472768479L
-
Class com.google.maps.errors.NotFoundException extends ApiException implements Serializable
- serialVersionUID:
- -5447625132975504651L
-
Class com.google.maps.errors.OverDailyLimitException extends ApiException implements Serializable
- serialVersionUID:
- 9172790459877314621L
-
Class com.google.maps.errors.OverQueryLimitException extends ApiException implements Serializable
- serialVersionUID:
- -6888513535435397042L
-
Class com.google.maps.errors.RequestDeniedException extends ApiException implements Serializable
- serialVersionUID:
- -1434641617962369958L
-
Class com.google.maps.errors.UnknownErrorException extends ApiException implements Serializable
- serialVersionUID:
- -4588344280364816431L
-
Class com.google.maps.errors.ZeroResultsException extends ApiException implements Serializable
- serialVersionUID:
- -9096790004183184907L
-
-
Package com.google.maps.model
-
Class com.google.maps.model.AddressComponent extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
longName
java.lang.String longName
The full text description or name of the address component as returned by the Geocoder. -
shortName
java.lang.String shortName
An abbreviated textual name for the address component, if available. For example, an address component for the state of Alaska may have a longName of "Alaska" and a shortName of "AK" using the 2-letter postal abbreviation. -
types
AddressComponentType[] types
Indicates the type of each part of the address. Examples include street number or country.
-
-
Class com.google.maps.model.AutocompletePrediction extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
description
java.lang.String description
Description of the matched prediction. -
matchedSubstrings
AutocompletePrediction.MatchedSubstring[] matchedSubstrings
The locations of the entered term in the prediction result text, so that the term can be highlighted if desired. -
placeId
java.lang.String placeId
The Place ID of the place. -
structuredFormatting
AutocompleteStructuredFormatting structuredFormatting
A description of how the autocomplete query matched the returned result. -
terms
AutocompletePrediction.Term[] terms
An array of terms identifying each section of the returned description. (A section of the description is generally terminated with a comma.) Each entry in the array has a value field, containing the text of the term, and an offset field, defining the start position of this term in the description, measured in Unicode characters. -
types
java.lang.String[] types
An array indicating the type of the address component.Please see supported types for a list of types that can be returned.
-
-
Class com.google.maps.model.AutocompletePrediction.MatchedSubstring extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
length
int length
The length of the matched substring, measured in Unicode characters. -
offset
int offset
The start position of the matched substring, measured in Unicode characters.
-
-
Class com.google.maps.model.AutocompletePrediction.Term extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
offset
int offset
The start position of this term in the description, measured in Unicode characters. -
value
java.lang.String value
The text of the matched term.
-
-
Class com.google.maps.model.AutocompleteStructuredFormatting extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
mainText
java.lang.String mainText
The main text of a prediction, usually the name of the place. -
mainTextMatchedSubstrings
AutocompletePrediction.MatchedSubstring[] mainTextMatchedSubstrings
Where the query matched the returned main text. -
secondaryText
java.lang.String secondaryText
The secondary text of a prediction, usually the location of the place.
-
-
Class com.google.maps.model.Bounds extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.google.maps.model.CellTower extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
age
java.lang.Integer age
The number of milliseconds since this cell was primary. If age is 0, the cellId represents a current measurement. -
cellId
java.lang.Integer cellId
Unique identifier of the cell (required). On GSM, this is the Cell ID (CID); CDMA networks use the Base Station ID (BID). WCDMA networks use the UTRAN/GERAN Cell Identity (UC-Id), which is a 32-bit value concatenating the Radio Network Controller (RNC) and Cell ID. Specifying only the 16-bit Cell ID value in WCDMA networks may return inaccurate results. -
locationAreaCode
java.lang.Integer locationAreaCode
The Location Area Code (LAC) for GSM and WCDMAnetworks or The Network ID (NID) for CDMA networks (required). -
mobileCountryCode
java.lang.Integer mobileCountryCode
The cell tower's Mobile Country Code (MCC) (required). -
mobileNetworkCode
java.lang.Integer mobileNetworkCode
The cell tower's Mobile Network Code (required). This is the MNC for GSM and WCDMA; CDMA uses the System ID (SID). -
signalStrength
java.lang.Integer signalStrength
Radio signal strength measured in dBm. -
timingAdvance
java.lang.Integer timingAdvance
The timing advance value.
-
-
Class com.google.maps.model.DirectionsLeg extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
arrivalTime
java.time.ZonedDateTime arrivalTime
The estimated time of arrival for this leg. This property is only returned for transit directions. -
departureTime
java.time.ZonedDateTime departureTime
The estimated time of departure for this leg. The departureTime is only available for transit directions. -
distance
Distance distance
The total distance covered by this leg. -
duration
Duration duration
The total duration of this leg. -
durationInTraffic
Duration durationInTraffic
The total duration of this leg, taking into account current traffic conditions. The duration in traffic will only be returned if all of the following are true:- The directions request includes a departureTime parameter set to a value within a few minutes of the current time.
- The request includes a valid Maps for Work client and signature parameter.
- Traffic conditions are available for the requested route.
- The directions request does not include stopover waypoints.
-
endAddress
java.lang.String endAddress
The human-readable address (typically a street address) reflecting the end location of this leg. -
endLocation
LatLng endLocation
The latitude/longitude coordinates of the given destination of this leg. Because the Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, endLocation may be different than the provided destination of this leg if, for example, a road is not near the destination. -
startAddress
java.lang.String startAddress
The human-readable address (typically a street address) reflecting the start location of this leg. -
startLocation
LatLng startLocation
The latitude/longitude coordinates of the origin of this leg. Because the Directions API calculates directions between locations by using the nearest transportation option (usually a road) at the start and end points, startLocation may be different from the provided origin of this leg if, for example, a road is not near the origin. -
steps
DirectionsStep[] steps
Contains an array of steps denoting information about each separate step of this leg of the journey.
-
-
Class com.google.maps.model.DirectionsResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
geocodedWaypoints
GeocodedWaypoint[] geocodedWaypoints
Details about the geocoding of origin, destination, and waypoints. See Geocoded Waypoints for more detail. -
routes
DirectionsRoute[] routes
Routes from the origin to the destination. See Routes for more detail.
-
-
Class com.google.maps.model.DirectionsRoute extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
bounds
Bounds bounds
The viewport bounding box of the overview_polyline. -
copyrights
java.lang.String copyrights
Copyrights text to be displayed for this route. You must handle and display this information yourself. -
fare
Fare fare
Information about the fare (that is, the ticket costs) on this route. This property is only returned for transit directions, and only for routes where fare information is available for all transit legs. -
legs
DirectionsLeg[] legs
Information about legs of the route, between locations within the route. A separate leg will be present for each waypoint or destination specified. (A route with no waypoints will contain exactly one leg within the legs array.) -
overviewPolyline
EncodedPolyline overviewPolyline
An approximate (smoothed) path of the resulting directions. -
summary
java.lang.String summary
A short textual description for the route, suitable for naming and disambiguating the route from alternatives. -
warnings
java.lang.String[] warnings
Warnings to be displayed when showing these directions. You must handle and display these warnings yourself. -
waypointOrder
int[] waypointOrder
Indicates the order of any waypoints in the calculated route. This waypoints may be reordered if the request was passedoptimize:true
within itswaypoints
parameter.
-
-
Class com.google.maps.model.DirectionsStep extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
distance
Distance distance
The distance covered by this step until the next step. -
duration
Duration duration
The typical time required to perform the step, until the next step. -
endLocation
LatLng endLocation
The location of the last point of this step. -
htmlInstructions
java.lang.String htmlInstructions
Formatted instructions for this step, presented as an HTML text string. -
maneuver
java.lang.String maneuver
Deprecated.The maneuver required to move ahead. E.g., turn-left. Please note, this field is undocumented, and thus should not be relied upon. -
polyline
EncodedPolyline polyline
The path of this step. -
startLocation
LatLng startLocation
The location of the starting point of this step. -
steps
DirectionsStep[] steps
Detailed directions for walking or driving steps in transit directions. Substeps are only available when travelMode is set to "transit". -
transitDetails
TransitDetails transitDetails
Transit-specific information. This field is only returned when travel_mode is set to "transit". See Transit Details for more detail. -
travelMode
TravelMode travelMode
The travel mode of this step. See Travel Modes for more detail.
-
-
Class com.google.maps.model.Distance extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
humanReadable
java.lang.String humanReadable
The human-friendly distance. This is rounded and in an appropriate unit for the request. The units can be overridden with a request parameter. -
inMeters
long inMeters
The numeric distance, in meters. This is intended to be used only in algorithmic situations, e.g. sorting results by some user specified metric.
-
-
Class com.google.maps.model.DistanceMatrix extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
destinationAddresses
java.lang.String[] destinationAddresses
Destination addresses as returned by the API from your original request. As withDistanceMatrix.originAddresses
, these are localized if appropriate. -
originAddresses
java.lang.String[] originAddresses
Origin addresses as returned by the API from your original request. These are formatted by the geocoder and localized according to the language parameter passed with the request. -
rows
DistanceMatrixRow[] rows
An array of elements, each of which in turn contains a status, duration, and distance element.
-
-
Class com.google.maps.model.DistanceMatrixElement extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
distance
Distance distance
distance
indicates the total distance covered by this leg. -
duration
Duration duration
The total duration of this leg. -
durationInTraffic
Duration durationInTraffic
The length of time to travel this route, based on current and historical traffic conditions. The duration in traffic will only be returned if all of the following are true:- The request includes a departureTime parameter.
- The request includes a valid API key or a valid Google Maps APIs Premium Plan client ID and signature.
- Traffic conditions are available for the requested route.
- The mode parameter is set to driving.
-
fare
Fare fare
fare
contains information about the fare (that is, the ticket costs) on this route. -
status
DistanceMatrixElementStatus status
The status of the request for this origin/destination pair.Will be one of
DistanceMatrixElementStatus
.
-
-
Class com.google.maps.model.DistanceMatrixRow extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
elements
DistanceMatrixElement[] elements
The results for this row, or individual origin.
-
-
Class com.google.maps.model.Duration extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
humanReadable
java.lang.String humanReadable
The human-friendly duration. Use this for display purposes. -
inSeconds
long inSeconds
The numeric duration, in seconds. This is intended to be used only in algorithmic situations, e.g. sorting results by some user specified metric.
-
-
Class com.google.maps.model.ElevationResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
elevation
double elevation
Elevation in meters. -
location
LatLng location
Location of the elevation data. -
resolution
double resolution
Maximum distance between data points from which the elevation was interpolated, in meters.
-
-
Class com.google.maps.model.EncodedPolyline extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
points
java.lang.String points
-
-
Class com.google.maps.model.Fare extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
currency
java.util.Currency currency
The currency that the amount is expressed in. -
value
java.math.BigDecimal value
The total fare amount, in the currency specified inFare.currency
.
-
-
Class com.google.maps.model.FindPlaceFromText extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
candidates
PlacesSearchResult[] candidates
-
-
Class com.google.maps.model.GeocodedWaypoint extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
geocoderStatus
GeocodedWaypointStatus geocoderStatus
The status code resulting from the geocoding operation for this waypoint. -
partialMatch
boolean partialMatch
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. -
placeId
java.lang.String placeId
A unique identifier for this waypoint that can be used with other Google APIs. -
types
AddressType[] types
The address types of the geocoding result used for calculating directions.
-
-
Class com.google.maps.model.GeocodingResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
addressComponents
AddressComponent[] addressComponents
The separate address components in this result. -
formattedAddress
java.lang.String formattedAddress
The human-readable address of this location.Often this address is equivalent to the "postal address," which sometimes differs from country to country. (Note that some countries, such as the United Kingdom, do not allow distribution of true postal addresses due to licensing restrictions.) This address is generally composed of one or more address components. For example, the address "111 8th Avenue, New York, NY" contains separate address components for "111" (the street number, "8th Avenue" (the route), "New York" (the city) and "NY" (the US state). These address components contain additional information.
-
geometry
Geometry geometry
Location information for this result. -
partialMatch
boolean partialMatch
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address.Partial matches most often occur for street addresses that do not exist within the locality you pass in the request. Partial matches may also be returned when a request matches two or more locations in the same locality. For example, "21 Henr St, Bristol, UK" will return a partial match for both Henry Street and Henrietta Street. Note that if a request includes a misspelled address component, the geocoding service may suggest an alternate address. Suggestions triggered in this way will not be marked as a partial match.
-
placeId
java.lang.String placeId
A unique identifier for this place. -
plusCode
PlusCode plusCode
The Plus Code identifier for this place. -
postcodeLocalities
java.lang.String[] postcodeLocalities
All the localities contained in a postal code. This is only present when the result is a postal code that contains multiple localities. -
types
AddressType[] types
The types of the returned result. This array contains a set of zero or more tags identifying the type of feature returned in the result. For example, a geocode of "Chicago" returns "locality" which indicates that "Chicago" is a city, and also returns "political" which indicates it is a political entity.
-
-
Class com.google.maps.model.GeolocationPayload extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
carrier
java.lang.String carrier
The carrier name. -
cellTowers
CellTower[] cellTowers
An array of cell tower objects. SeeCellTower
. -
considerIp
java.lang.Boolean considerIp
Specifies whether to fall back to IP geolocation if wifi and cell tower signals are not available. Note that the IP address in the request header may not be the IP of the device. Defaults to true. Set considerIp to false to disable fall back. -
homeMobileCountryCode
java.lang.Integer homeMobileCountryCode
The mobile country code (MCC) for the device's home network. -
homeMobileNetworkCode
java.lang.Integer homeMobileNetworkCode
The mobile network code (MNC) for the device's home network. -
radioType
java.lang.String radioType
The mobile radio type. Supported values are"lte"
,"gsm"
,"cdma"
, and"wcdma"
. While this field is optional, it should be included if a value is available, for more accurate results. -
wifiAccessPoints
WifiAccessPoint[] wifiAccessPoints
An array of WiFi access point objects. SeeWifiAccessPoint
.
-
-
Class com.google.maps.model.GeolocationResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
accuracy
double accuracy
The accuracy of the estimated location, in meters. This represents the radius of a circle around the returnedlocation
. -
location
LatLng location
The user’s estimated latitude and longitude.
-
-
Class com.google.maps.model.Geometry extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
bounds
Bounds bounds
The bounding box which can fully contain the returned result (optionally returned). Note that these bounds may not match the recommended viewport. (For example, San Francisco includes the Farallon islands, which are technically part of the city, but probably should not be returned in the viewport.) -
location
LatLng location
The geocoded latitude/longitude value. For normal address lookups, this field is typically the most important. -
locationType
LocationType locationType
The level of certainty of this geocoding result. -
viewport
Bounds viewport
The recommended viewport for displaying the returned result. Generally the viewport is used to frame a result when displaying it to a user.
-
-
Class com.google.maps.model.LatLng extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
lat
double lat
The latitude of this location. -
lng
double lng
The longitude of this location.
-
-
Class com.google.maps.model.OpeningHours extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
openNow
java.lang.Boolean openNow
Whether the place is open at the current time.Note: this field will be null if it isn't present in the response.
-
periods
OpeningHours.Period[] periods
Opening periods covering seven days, starting from Sunday, in chronological order. -
permanentlyClosed
java.lang.Boolean permanentlyClosed
Indicates that the place has permanently shut down.Note: this field will be null if it isn't present in the response.
-
weekdayText
java.lang.String[] weekdayText
The formatted opening hours for each day of the week, as an array of seven strings; for example,"Monday: 8:30 am – 5:30 pm"
.
-
-
Class com.google.maps.model.OpeningHours.Period extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
close
OpeningHours.Period.OpenClose close
When the Place closes. -
open
OpeningHours.Period.OpenClose open
When the Place opens.
-
-
Class com.google.maps.model.OpeningHours.Period.OpenClose extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
day
OpeningHours.Period.OpenClose.DayOfWeek day
Day that this Open/Close pair is for. -
time
java.time.LocalTime time
Time that this Open or Close happens at.
-
-
Class com.google.maps.model.Photo extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
height
int height
The maximum height of the image. -
htmlAttributions
java.lang.String[] htmlAttributions
Attributions about this listing which must be displayed to the user. -
photoReference
java.lang.String photoReference
Used to identify the photo when you perform a Photo request. -
width
int width
The maximum width of the image.
-
-
Class com.google.maps.model.PlaceDetails extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
addressComponents
AddressComponent[] addressComponents
A list of separate address components that comprise the address of this place. -
adrAddress
java.lang.String adrAddress
A representation of the place's address in the adr microformat. -
altIds
PlaceDetails.AlternatePlaceIds[] altIds
An optional array of alternative place IDs for the place, with a scope related to each alternative ID. -
formattedAddress
java.lang.String formattedAddress
The human-readable address of this place. -
formattedPhoneNumber
java.lang.String formattedPhoneNumber
The place's phone number in its local format. -
geometry
Geometry geometry
The location of the Place. -
htmlAttributions
java.lang.String[] htmlAttributions
Attributions about this listing which must be displayed to the user. -
icon
java.net.URL icon
The URL of a suggested icon which may be displayed to the user when indicating this result on a map. -
internationalPhoneNumber
java.lang.String internationalPhoneNumber
The place's phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign. -
name
java.lang.String name
The human-readable name for the returned result. -
openingHours
OpeningHours openingHours
The opening hours for the place. -
permanentlyClosed
boolean permanentlyClosed
Whether the place has permanently closed. -
photos
Photo[] photos
A list of photos associated with this place, each containing a reference to an image. -
placeId
java.lang.String placeId
A textual identifier that uniquely identifies this place. -
plusCode
PlusCode plusCode
The Plus Code location identifier for this place. -
priceLevel
PriceLevel priceLevel
The price level of the place. The exact amount indicated by a specific value will vary from region to region. -
rating
float rating
The place's rating, from 1.0 to 5.0, based on aggregated user reviews. -
reviews
PlaceDetails.Review[] reviews
An array of up to five reviews. If a language parameter was specified in the Place Details request, the Places Service will bias the results to prefer reviews written in that language. -
scope
PlaceIdScope scope
The scope of the placeId. -
types
AddressType[] types
Feature types describing the given result. -
url
java.net.URL url
The URL of the official Google page for this place. This will be the establishment's Google+ page if the Google+ page exists, otherwise it will be the Google-owned page that contains the best available information about the place. Applications must link to or embed this page on any screen that shows detailed results about the place to the user. -
utcOffset
int utcOffset
The number of minutes this place’s current timezone is offset from UTC. -
vicinity
java.lang.String vicinity
A simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country. -
website
java.net.URL website
The authoritative website for this place, such as a business's homepage.
-
-
Class com.google.maps.model.PlaceDetails.AlternatePlaceIds extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
placeId
java.lang.String placeId
The alternative placeId. The most likely reason for a place to have an alternative place ID is if your application adds a place and receives an application-scoped place ID, then later receives a Google-scoped place ID after passing the moderation process. -
scope
PlaceIdScope scope
The scope of an alternative place ID will always be APP, indicating that the alternative place ID is recognised by your application only.
-
-
Class com.google.maps.model.PlaceDetails.Review extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
aspects
PlaceDetails.Review.AspectRating[] aspects
A list of AspectRating objects, each of which provides a rating of a single attribute of the establishment.Note: this is a Premium Data field available to the Google Places API for Work customers.
-
authorName
java.lang.String authorName
The name of the user who submitted the review. Anonymous reviews are attributed to "A Google user". -
authorUrl
java.net.URL authorUrl
The URL of the user's Google+ profile, if available. -
language
java.lang.String language
An IETF language code indicating the language used in the user's review. -
profilePhotoUrl
java.lang.String profilePhotoUrl
The URL of the user's Google+ profile photo, if available. -
rating
int rating
The user's overall rating for this place. This is a whole number, ranging from 1 to 5. -
relativeTimeDescription
java.lang.String relativeTimeDescription
The relative time that the review was submitted. -
text
java.lang.String text
The user's review. When reviewing a location with Google Places, text reviews are considered optional. -
time
java.time.Instant time
The time that the review was submitted.
-
-
Class com.google.maps.model.PlaceDetails.Review.AspectRating extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
rating
int rating
The user's rating for this particular aspect, from 0 to 3. -
type
PlaceDetails.Review.AspectRating.RatingType type
The name of the aspect that is being rated.
-
-
Class com.google.maps.model.PlacesSearchResponse extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
htmlAttributions
java.lang.String[] htmlAttributions
Attributions about this listing which must be displayed to the user. -
nextPageToken
java.lang.String nextPageToken
A token that can be used to request up to 20 additional results. This field will be null if there are no further results. The maximum number of results that can be returned is 60.Note: There is a short delay between when this response is issued, and when nextPageToken will become valid to execute.
-
results
PlacesSearchResult[] results
The list of Search Results.
-
-
Class com.google.maps.model.PlacesSearchResult extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
formattedAddress
java.lang.String formattedAddress
The human-readable address of this place. -
geometry
Geometry geometry
Geometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage. -
icon
java.net.URL icon
The URL of a recommended icon which may be displayed to the user when indicating this result. -
name
java.lang.String name
The human-readable name for the returned result. For establishment results, this is usually the business name. -
openingHours
OpeningHours openingHours
Information on when the place is open. -
permanentlyClosed
boolean permanentlyClosed
Indicates that the place has permanently shut down. -
photos
Photo[] photos
Photo objects associated with this place, each containing a reference to an image. -
placeId
java.lang.String placeId
A textual identifier that uniquely identifies a place. -
rating
float rating
The place's rating, from 1.0 to 5.0, based on aggregated user reviews. -
scope
PlaceIdScope scope
The scope of the placeId. -
types
java.lang.String[] types
Feature types describing the given result. -
userRatingsTotal
int userRatingsTotal
The number of user reviews for this place -
vicinity
java.lang.String vicinity
A feature name of a nearby location.
-
-
Class com.google.maps.model.Size extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
height
int height
The height of this Size. -
width
int width
The width of this Size.
-
-
Class com.google.maps.model.SnappedPoint extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
location
LatLng location
A latitude/longitude value representing the snapped location. -
originalIndex
int originalIndex
The index of the corresponding value in the original request. Each value in the request should map to a snapped value in the response. However, if you've set interpolate=true, then it's possible that the response will contain more coordinates than the request. Interpolated values will not have an originalIndex. These values are indexed from 0, so a point with an originalIndex of 4 will be the snapped value of the 5th lat/lng passed to the path parameter.A point that was not on the original path, or when interpolate=false, will have an originalIndex of -1.
-
placeId
java.lang.String placeId
A unique identifier for a place. All placeIds returned by the Roads API will correspond to road segments. The placeId can be passed to the speedLimit method to determine the speed limit along that road segment.
-
-
Class com.google.maps.model.SnappedSpeedLimitResponse extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
snappedPoints
SnappedPoint[] snappedPoints
Snap-to-road results. -
speedLimits
SpeedLimit[] speedLimits
Speed limit results.
-
-
Class com.google.maps.model.SpeedLimit extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
placeId
java.lang.String placeId
A unique identifier for a place. All placeIds returned by the Roads API will correspond to road segments. -
speedLimit
double speedLimit
The speed limit for that road segment, specified in kilometers per hour.To obtain the speed in miles per hour, use
SpeedLimit.speedLimitMph()
.
-
-
Class com.google.maps.model.StopDetails extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
location
LatLng location
The location of the transit station/stop. -
name
java.lang.String name
The name of the transit station/stop. E.g."Union Square"
.
-
-
Class com.google.maps.model.TransitAgency extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
name
java.lang.String name
The name of the transit agency. -
phone
java.lang.String phone
The phone number of the transit agency. -
url
java.lang.String url
The URL for the transit agency.
-
-
Class com.google.maps.model.TransitDetails extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
arrivalStop
StopDetails arrivalStop
Information about the arrival stop/station for this part of the trip. -
arrivalTime
java.time.ZonedDateTime arrivalTime
The arrival time for this leg of the journey. -
departureStop
StopDetails departureStop
Information about the departure stop/station for this part of the trip. -
departureTime
java.time.ZonedDateTime departureTime
The departure time for this leg of the journey. -
headsign
java.lang.String headsign
The direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station. -
headway
long headway
The expected number of seconds between departures from the same stop at this time. For example, with a headway value of 600, you would expect a ten minute wait if you should miss your bus. -
line
TransitLine line
Information about the transit line used in this step. -
numStops
int numStops
The number of stops in this step, counting the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D,numStops
will equal 3.
-
-
Class com.google.maps.model.TransitLine extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
agencies
TransitAgency[] agencies
Information about the operator(s) of this transit line. -
color
java.lang.String color
The color commonly used in signage for this transit line. The color will be specified as a hex string, such as"#FF0033"
. -
icon
java.lang.String icon
The URL for the icon associated with this transit line. -
name
java.lang.String name
The full name of this transit line. E.g."7 Avenue Express"
. -
shortName
java.lang.String shortName
The short name of this transit line. This will normally be a line number, such as"M7"
or"355"
. -
textColor
java.lang.String textColor
The color of text commonly used for signage of this transit line. The color will be specified as a hex string, such as"#FF0033"
. -
url
java.lang.String url
The URL for this transit line as provided by the transit agency. -
vehicle
Vehicle vehicle
The type of vehicle used on this transit line.
-
-
Class com.google.maps.model.Vehicle extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
icon
java.lang.String icon
The URL for an icon associated with this vehicle type. -
localIcon
java.lang.String localIcon
The URL for an icon based on the local transport signage. -
name
java.lang.String name
The name of the vehicle on this line. E.g."Subway"
. -
type
VehicleType type
The type of vehicle that runs on this line. See theVehicleType
documentation for a complete list of supported values.
-
-
Class com.google.maps.model.WifiAccessPoint extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
age
java.lang.Integer age
The number of milliseconds since this access point was detected. -
channel
java.lang.Integer channel
The channel over which the client is communicating with the access point. -
macAddress
java.lang.String macAddress
The MAC address of the WiFi node (required). Separators must be:
(colon) and hex digits must use uppercase. -
signalStrength
java.lang.Integer signalStrength
The current signal strength measured in dBm. -
signalToNoiseRatio
java.lang.Integer signalToNoiseRatio
The current signal to noise ratio measured in dB.
-
-