public final class GoogleMapsPlacesV1TransitAgency
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 |
|---|
GoogleMapsPlacesV1TransitAgency() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1TransitAgency |
clone() |
GoogleTypeLocalizedText |
getDisplayName()
Agency name (e.g.
|
String |
getFareUrl()
The URL of the agency's fare details page.
|
GoogleMapsPlacesV1TransitIcon |
getIcon()
Icon identifier for localized branded icon of a transit system (e.g.
|
List<GoogleMapsPlacesV1TransitLine> |
getLines()
The transit lines that are served by this agency.
|
String |
getUrl()
The URL of the agency's homepage.
|
GoogleMapsPlacesV1TransitAgency |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1TransitAgency |
setDisplayName(GoogleTypeLocalizedText displayName)
Agency name (e.g.
|
GoogleMapsPlacesV1TransitAgency |
setFareUrl(String fareUrl)
The URL of the agency's fare details page.
|
GoogleMapsPlacesV1TransitAgency |
setIcon(GoogleMapsPlacesV1TransitIcon icon)
Icon identifier for localized branded icon of a transit system (e.g.
|
GoogleMapsPlacesV1TransitAgency |
setLines(List<GoogleMapsPlacesV1TransitLine> lines)
The transit lines that are served by this agency.
|
GoogleMapsPlacesV1TransitAgency |
setUrl(String url)
The URL of the agency's homepage.
|
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 GoogleTypeLocalizedText getDisplayName()
null for nonepublic GoogleMapsPlacesV1TransitAgency setDisplayName(GoogleTypeLocalizedText displayName)
displayName - displayName or null for nonepublic String getFareUrl()
null for nonepublic GoogleMapsPlacesV1TransitAgency setFareUrl(String fareUrl)
fareUrl - fareUrl or null for nonepublic GoogleMapsPlacesV1TransitIcon getIcon()
null for nonepublic GoogleMapsPlacesV1TransitAgency setIcon(GoogleMapsPlacesV1TransitIcon icon)
icon - icon or null for nonepublic List<GoogleMapsPlacesV1TransitLine> getLines()
null for nonepublic GoogleMapsPlacesV1TransitAgency setLines(List<GoogleMapsPlacesV1TransitLine> lines)
lines - lines or null for nonepublic String getUrl()
null for nonepublic GoogleMapsPlacesV1TransitAgency setUrl(String url)
url - url or null for nonepublic GoogleMapsPlacesV1TransitAgency set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1TransitAgency clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.