public static class RouterStatusBgpPeerStatus.Builder extends Object
Modifier and Type | Method and Description |
---|---|
RouterStatusBgpPeerStatus.Builder |
addAdvertisedRoutes(Route advertisedRoutes)
Routes that were advertised to the remote BGP peer
|
RouterStatusBgpPeerStatus.Builder |
addAllAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer
|
RouterStatusBgpPeerStatus |
build() |
RouterStatusBgpPeerStatus.Builder |
clone() |
List<Route> |
getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peer
|
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.
|
Integer |
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.Builder |
mergeFrom(RouterStatusBgpPeerStatus other) |
RouterStatusBgpPeerStatus.Builder |
setIpAddress(String ipAddress)
IP address of the local BGP interface.
|
RouterStatusBgpPeerStatus.Builder |
setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls.
|
RouterStatusBgpPeerStatus.Builder |
setName(String name)
Name of this BGP peer.
|
RouterStatusBgpPeerStatus.Builder |
setNumLearnedRoutes(Integer numLearnedRoutes)
Number of routes learned from the remote BGP Peer.
|
RouterStatusBgpPeerStatus.Builder |
setPeerIpAddress(String peerIpAddress)
IP address of the remote BGP interface.
|
RouterStatusBgpPeerStatus.Builder |
setState(String state)
BGP state as specified in RFC1771.
|
RouterStatusBgpPeerStatus.Builder |
setStatus(String status)
Status of the BGP peer: {UP, DOWN}
|
RouterStatusBgpPeerStatus.Builder |
setUptime(String uptime)
Time this session has been up.
|
RouterStatusBgpPeerStatus.Builder |
setUptimeSeconds(String uptimeSeconds)
Time this session has been up, in seconds.
|
public RouterStatusBgpPeerStatus.Builder mergeFrom(RouterStatusBgpPeerStatus other)
public List<Route> getAdvertisedRoutesList()
public RouterStatusBgpPeerStatus.Builder addAllAdvertisedRoutes(List<Route> advertisedRoutes)
public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(Route advertisedRoutes)
public String getIpAddress()
public RouterStatusBgpPeerStatus.Builder setIpAddress(String ipAddress)
public String getLinkedVpnTunnel()
public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnel(String linkedVpnTunnel)
public String getName()
public RouterStatusBgpPeerStatus.Builder setName(String name)
public Integer getNumLearnedRoutes()
public RouterStatusBgpPeerStatus.Builder setNumLearnedRoutes(Integer numLearnedRoutes)
public String getPeerIpAddress()
public RouterStatusBgpPeerStatus.Builder setPeerIpAddress(String peerIpAddress)
public String getState()
public RouterStatusBgpPeerStatus.Builder setState(String state)
public String getStatus()
public RouterStatusBgpPeerStatus.Builder setStatus(String status)
public String getUptime()
public RouterStatusBgpPeerStatus.Builder setUptime(String uptime)
public String getUptimeSeconds()
public RouterStatusBgpPeerStatus.Builder setUptimeSeconds(String uptimeSeconds)
public RouterStatusBgpPeerStatus build()
public RouterStatusBgpPeerStatus.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.