public final class GoogleMapsPlacesV1TransitLine
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Places API (New). For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleMapsPlacesV1TransitLine() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1TransitLine |
clone() |
String |
getBackgroundColor()
The background color of the labels for this transit line in #RRGGBB hex format, e.g.
|
GoogleTypeLocalizedText |
getDisplayName()
The long name for this transit line (e.g.
|
GoogleMapsPlacesV1TransitIcon |
getIcon()
Icon identifier for this particular line (e.g.
|
String |
getId()
The id of the transit line that can be used to uniquely identify the line among other transit
lines in the same transit station.
|
GoogleTypeLocalizedText |
getShortDisplayName()
The short name for this transit line (e.g.
|
String |
getTextColor()
The text color of labels for this transit line in #RRGGBB hex format, e.g.
|
String |
getUrl()
The URL of a webpage with details about this line.
|
GoogleMapsPlacesV1TransitIcon |
getVehicleIcon()
Icon identifier for this particular vehicle type.
|
String |
getVehicleType()
The type of vehicle using this line.
|
GoogleMapsPlacesV1TransitLine |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1TransitLine |
setBackgroundColor(String backgroundColor)
The background color of the labels for this transit line in #RRGGBB hex format, e.g.
|
GoogleMapsPlacesV1TransitLine |
setDisplayName(GoogleTypeLocalizedText displayName)
The long name for this transit line (e.g.
|
GoogleMapsPlacesV1TransitLine |
setIcon(GoogleMapsPlacesV1TransitIcon icon)
Icon identifier for this particular line (e.g.
|
GoogleMapsPlacesV1TransitLine |
setId(String id)
The id of the transit line that can be used to uniquely identify the line among other transit
lines in the same transit station.
|
GoogleMapsPlacesV1TransitLine |
setShortDisplayName(GoogleTypeLocalizedText shortDisplayName)
The short name for this transit line (e.g.
|
GoogleMapsPlacesV1TransitLine |
setTextColor(String textColor)
The text color of labels for this transit line in #RRGGBB hex format, e.g.
|
GoogleMapsPlacesV1TransitLine |
setUrl(String url)
The URL of a webpage with details about this line.
|
GoogleMapsPlacesV1TransitLine |
setVehicleIcon(GoogleMapsPlacesV1TransitIcon vehicleIcon)
Icon identifier for this particular vehicle type.
|
GoogleMapsPlacesV1TransitLine |
setVehicleType(String vehicleType)
The type of vehicle using this line.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBackgroundColor()
null for nonepublic GoogleMapsPlacesV1TransitLine setBackgroundColor(String backgroundColor)
backgroundColor - backgroundColor or null for nonepublic GoogleTypeLocalizedText getDisplayName()
null for nonepublic GoogleMapsPlacesV1TransitLine setDisplayName(GoogleTypeLocalizedText displayName)
displayName - displayName or null for nonepublic GoogleMapsPlacesV1TransitIcon getIcon()
null for nonepublic GoogleMapsPlacesV1TransitLine setIcon(GoogleMapsPlacesV1TransitIcon icon)
icon - icon or null for nonepublic String getId()
null for nonepublic GoogleMapsPlacesV1TransitLine setId(String id)
id - id or null for nonepublic GoogleTypeLocalizedText getShortDisplayName()
null for nonepublic GoogleMapsPlacesV1TransitLine setShortDisplayName(GoogleTypeLocalizedText shortDisplayName)
shortDisplayName - shortDisplayName or null for nonepublic String getTextColor()
null for nonepublic GoogleMapsPlacesV1TransitLine setTextColor(String textColor)
textColor - textColor or null for nonepublic String getUrl()
null for nonepublic GoogleMapsPlacesV1TransitLine setUrl(String url)
url - url or null for nonepublic GoogleMapsPlacesV1TransitIcon getVehicleIcon()
null for nonepublic GoogleMapsPlacesV1TransitLine setVehicleIcon(GoogleMapsPlacesV1TransitIcon vehicleIcon)
vehicleIcon - vehicleIcon or null for nonepublic String getVehicleType()
null for nonepublic GoogleMapsPlacesV1TransitLine setVehicleType(String vehicleType)
vehicleType - vehicleType or null for nonepublic GoogleMapsPlacesV1TransitLine set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1TransitLine clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.