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()
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router.
|
List<Route> |
getBestRoutesForRouter()
A list of the best BGP routes learned by this Cloud 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)
A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network
in the same region as this Cloud Router.
|
RouterStatus |
setBestRoutesForRouter(List<Route> bestRoutesForRouter)
A list of the best BGP routes learned by this Cloud 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–2025 Google. All rights reserved.