public final class BgpRoute
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 Compute Engine API. 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 |
|---|
BgpRoute() |
| Modifier and Type | Method and Description |
|---|---|
BgpRoute |
clone() |
List<BgpRouteAsPath> |
getAsPaths()
[Output only] AS-PATH for the route
|
List<String> |
getCommunities()
[Output only] BGP communities in human-readable A:B format.
|
BgpRouteNetworkLayerReachabilityInformation |
getDestination()
[Output only] Destination IP range for the route, in human-readable CIDR format
|
Long |
getMed()
[Output only] BGP multi-exit discriminator
|
String |
getOrigin()
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
|
BgpRoute |
set(String fieldName,
Object value) |
BgpRoute |
setAsPaths(List<BgpRouteAsPath> asPaths)
[Output only] AS-PATH for the route
|
BgpRoute |
setCommunities(List<String> communities)
[Output only] BGP communities in human-readable A:B format.
|
BgpRoute |
setDestination(BgpRouteNetworkLayerReachabilityInformation destination)
[Output only] Destination IP range for the route, in human-readable CIDR format
|
BgpRoute |
setMed(Long med)
[Output only] BGP multi-exit discriminator
|
BgpRoute |
setOrigin(String origin)
[Output only] BGP origin (EGP, IGP or INCOMPLETE)
|
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 List<BgpRouteAsPath> getAsPaths()
null for nonepublic BgpRoute setAsPaths(List<BgpRouteAsPath> asPaths)
asPaths - asPaths or null for nonepublic List<String> getCommunities()
null for nonepublic BgpRoute setCommunities(List<String> communities)
communities - communities or null for nonepublic BgpRouteNetworkLayerReachabilityInformation getDestination()
null for nonepublic BgpRoute setDestination(BgpRouteNetworkLayerReachabilityInformation destination)
destination - destination or null for nonepublic Long getMed()
null for nonepublic BgpRoute setMed(Long med)
med - med or null for nonepublic String getOrigin()
null for nonepublic BgpRoute setOrigin(String origin)
origin - origin or null for nonepublic BgpRoute set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BgpRoute clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.