public final class RouterStatus
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RouterStatus() |
Modifier and Type | Method and Description |
---|---|
RouterStatus |
clone() |
List<Route> |
getBestRoutes()
Best routes for this router's network.
|
List<Route> |
getBestRoutesForRouter()
Best routes learned by this router.
|
List<RouterStatusBgpPeerStatus> |
getBgpPeerStatus() |
List<RouterStatusNatStatus> |
getNatStatus() |
String |
getNetwork()
URI of the network to which this router belongs.
|
RouterStatus |
set(String fieldName,
Object value) |
RouterStatus |
setBestRoutes(List<Route> bestRoutes)
Best routes for this router's network.
|
RouterStatus |
setBestRoutesForRouter(List<Route> bestRoutesForRouter)
Best routes learned by this router.
|
RouterStatus |
setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus) |
RouterStatus |
setNatStatus(List<RouterStatusNatStatus> natStatus) |
RouterStatus |
setNetwork(String network)
URI of the network to which this router belongs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<Route> getBestRoutes()
null
for nonepublic RouterStatus setBestRoutes(List<Route> bestRoutes)
bestRoutes
- bestRoutes or null
for nonepublic List<Route> getBestRoutesForRouter()
null
for nonepublic RouterStatus setBestRoutesForRouter(List<Route> bestRoutesForRouter)
bestRoutesForRouter
- bestRoutesForRouter or null
for nonepublic List<RouterStatusBgpPeerStatus> getBgpPeerStatus()
null
for nonepublic RouterStatus setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus)
bgpPeerStatus
- bgpPeerStatus or null
for nonepublic List<RouterStatusNatStatus> getNatStatus()
null
for nonepublic RouterStatus setNatStatus(List<RouterStatusNatStatus> natStatus)
natStatus
- natStatus or null
for nonepublic String getNetwork()
null
for nonepublic RouterStatus setNetwork(String network)
network
- network or null
for nonepublic RouterStatus set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RouterStatus clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.