public final class RouterStatusBgpPeerStatus extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
RouterStatusBgpPeerStatus()  | 
| Modifier and Type | Method and Description | 
|---|---|
RouterStatusBgpPeerStatus | 
clone()  | 
List<Route> | 
getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer 
 | 
BfdStatus | 
getBfdStatus()  | 
String | 
getIpAddress()
IP address of the local BGP interface. 
 | 
String | 
getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls. 
 | 
String | 
getName()
Name of this BGP peer. 
 | 
Long | 
getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer. 
 | 
String | 
getPeerIpAddress()
IP address of the remote BGP interface. 
 | 
String | 
getState()
BGP state as specified in RFC1771. 
 | 
String | 
getStatus()
Status of the BGP peer: {UP, DOWN} 
 | 
String | 
getUptime()
Time this session has been up. 
 | 
String | 
getUptimeSeconds()
Time this session has been up, in seconds. 
 | 
RouterStatusBgpPeerStatus | 
set(String fieldName,
   Object value)  | 
RouterStatusBgpPeerStatus | 
setAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer 
 | 
RouterStatusBgpPeerStatus | 
setBfdStatus(BfdStatus bfdStatus)  | 
RouterStatusBgpPeerStatus | 
setIpAddress(String ipAddress)
IP address of the local BGP interface. 
 | 
RouterStatusBgpPeerStatus | 
setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls. 
 | 
RouterStatusBgpPeerStatus | 
setName(String name)
Name of this BGP peer. 
 | 
RouterStatusBgpPeerStatus | 
setNumLearnedRoutes(Long numLearnedRoutes)
Number of routes learned from the remote BGP Peer. 
 | 
RouterStatusBgpPeerStatus | 
setPeerIpAddress(String peerIpAddress)
IP address of the remote BGP interface. 
 | 
RouterStatusBgpPeerStatus | 
setState(String state)
BGP state as specified in RFC1771. 
 | 
RouterStatusBgpPeerStatus | 
setStatus(String status)
Status of the BGP peer: {UP, DOWN} 
 | 
RouterStatusBgpPeerStatus | 
setUptime(String uptime)
Time this session has been up. 
 | 
RouterStatusBgpPeerStatus | 
setUptimeSeconds(String uptimeSeconds)
Time this session has been up, in seconds. 
 | 
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<Route> getAdvertisedRoutes()
null for nonepublic RouterStatusBgpPeerStatus setAdvertisedRoutes(List<Route> advertisedRoutes)
advertisedRoutes - advertisedRoutes or null for nonepublic BfdStatus getBfdStatus()
null for nonepublic RouterStatusBgpPeerStatus setBfdStatus(BfdStatus bfdStatus)
bfdStatus - bfdStatus or null for nonepublic String getIpAddress()
null for nonepublic RouterStatusBgpPeerStatus setIpAddress(String ipAddress)
ipAddress - ipAddress or null for nonepublic String getLinkedVpnTunnel()
null for nonepublic RouterStatusBgpPeerStatus setLinkedVpnTunnel(String linkedVpnTunnel)
linkedVpnTunnel - linkedVpnTunnel or null for nonepublic String getName()
null for nonepublic RouterStatusBgpPeerStatus setName(String name)
name - name or null for nonepublic Long getNumLearnedRoutes()
null for nonepublic RouterStatusBgpPeerStatus setNumLearnedRoutes(Long numLearnedRoutes)
numLearnedRoutes - numLearnedRoutes or null for nonepublic String getPeerIpAddress()
null for nonepublic RouterStatusBgpPeerStatus setPeerIpAddress(String peerIpAddress)
peerIpAddress - peerIpAddress or null for nonepublic String getState()
null for nonepublic RouterStatusBgpPeerStatus setState(String state)
state - state or null for nonepublic String getStatus()
null for nonepublic RouterStatusBgpPeerStatus setStatus(String status)
status - status or null for nonepublic String getUptime()
null for nonepublic RouterStatusBgpPeerStatus setUptime(String uptime)
uptime - uptime or null for nonepublic String getUptimeSeconds()
null for nonepublic RouterStatusBgpPeerStatus setUptimeSeconds(String uptimeSeconds)
uptimeSeconds - uptimeSeconds or null for nonepublic RouterStatusBgpPeerStatus set(String fieldName, Object value)
set in class GenericJsonpublic RouterStatusBgpPeerStatus clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.