public final class RouterStatusBgpPeerStatus
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 |
---|
RouterStatusBgpPeerStatus() |
Modifier and Type | Method and Description |
---|---|
RouterStatusBgpPeerStatus |
clone() |
List<Route> |
getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
|
BfdStatus |
getBfdStatus() |
Boolean |
getEnableIpv4()
Enable IPv4 traffic over BGP Peer.
|
Boolean |
getEnableIpv6()
Enable IPv6 traffic over BGP Peer.
|
String |
getIpAddress()
IP address of the local BGP interface.
|
String |
getIpv4NexthopAddress()
IPv4 address of the local BGP interface.
|
String |
getIpv6NexthopAddress()
IPv6 address of the local BGP interface.
|
String |
getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
|
Boolean |
getMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
|
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 |
getPeerIpv4NexthopAddress()
IPv4 address of the remote BGP interface.
|
String |
getPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
|
String |
getRouterApplianceInstance()
[Output only] URI of the VM instance that is used as third-party router appliances such as Next
Gen Firewalls, Virtual Routers, or Router Appliances.
|
String |
getState()
The state of the BGP session.
|
String |
getStatus()
Status of the BGP peer: {UP, DOWN}
|
String |
getStatusReason()
Indicates why particular status was returned.
|
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 |
setEnableIpv4(Boolean enableIpv4)
Enable IPv4 traffic over BGP Peer.
|
RouterStatusBgpPeerStatus |
setEnableIpv6(Boolean enableIpv6)
Enable IPv6 traffic over BGP Peer.
|
RouterStatusBgpPeerStatus |
setIpAddress(String ipAddress)
IP address of the local BGP interface.
|
RouterStatusBgpPeerStatus |
setIpv4NexthopAddress(String ipv4NexthopAddress)
IPv4 address of the local BGP interface.
|
RouterStatusBgpPeerStatus |
setIpv6NexthopAddress(String ipv6NexthopAddress)
IPv6 address of the local BGP interface.
|
RouterStatusBgpPeerStatus |
setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls.
|
RouterStatusBgpPeerStatus |
setMd5AuthEnabled(Boolean md5AuthEnabled)
Informs whether MD5 authentication is enabled on this BGP peer.
|
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 |
setPeerIpv4NexthopAddress(String peerIpv4NexthopAddress)
IPv4 address of the remote BGP interface.
|
RouterStatusBgpPeerStatus |
setPeerIpv6NexthopAddress(String peerIpv6NexthopAddress)
IPv6 address of the remote BGP interface.
|
RouterStatusBgpPeerStatus |
setRouterApplianceInstance(String routerApplianceInstance)
[Output only] URI of the VM instance that is used as third-party router appliances such as Next
Gen Firewalls, Virtual Routers, or Router Appliances.
|
RouterStatusBgpPeerStatus |
setState(String state)
The state of the BGP session.
|
RouterStatusBgpPeerStatus |
setStatus(String status)
Status of the BGP peer: {UP, DOWN}
|
RouterStatusBgpPeerStatus |
setStatusReason(String statusReason)
Indicates why particular status was returned.
|
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, 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> 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 Boolean getEnableIpv4()
null
for nonepublic RouterStatusBgpPeerStatus setEnableIpv4(Boolean enableIpv4)
enableIpv4
- enableIpv4 or null
for nonepublic Boolean getEnableIpv6()
null
for nonepublic RouterStatusBgpPeerStatus setEnableIpv6(Boolean enableIpv6)
enableIpv6
- enableIpv6 or null
for nonepublic String getIpAddress()
null
for nonepublic RouterStatusBgpPeerStatus setIpAddress(String ipAddress)
ipAddress
- ipAddress or null
for nonepublic String getIpv4NexthopAddress()
null
for nonepublic RouterStatusBgpPeerStatus setIpv4NexthopAddress(String ipv4NexthopAddress)
ipv4NexthopAddress
- ipv4NexthopAddress or null
for nonepublic String getIpv6NexthopAddress()
null
for nonepublic RouterStatusBgpPeerStatus setIpv6NexthopAddress(String ipv6NexthopAddress)
ipv6NexthopAddress
- ipv6NexthopAddress or null
for nonepublic String getLinkedVpnTunnel()
null
for nonepublic RouterStatusBgpPeerStatus setLinkedVpnTunnel(String linkedVpnTunnel)
linkedVpnTunnel
- linkedVpnTunnel or null
for nonepublic Boolean getMd5AuthEnabled()
null
for nonepublic RouterStatusBgpPeerStatus setMd5AuthEnabled(Boolean md5AuthEnabled)
md5AuthEnabled
- md5AuthEnabled 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 getPeerIpv4NexthopAddress()
null
for nonepublic RouterStatusBgpPeerStatus setPeerIpv4NexthopAddress(String peerIpv4NexthopAddress)
peerIpv4NexthopAddress
- peerIpv4NexthopAddress or null
for nonepublic String getPeerIpv6NexthopAddress()
null
for nonepublic RouterStatusBgpPeerStatus setPeerIpv6NexthopAddress(String peerIpv6NexthopAddress)
peerIpv6NexthopAddress
- peerIpv6NexthopAddress or null
for nonepublic String getRouterApplianceInstance()
null
for nonepublic RouterStatusBgpPeerStatus setRouterApplianceInstance(String routerApplianceInstance)
routerApplianceInstance
- routerApplianceInstance 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 getStatusReason()
null
for nonepublic RouterStatusBgpPeerStatus setStatusReason(String statusReason)
statusReason
- statusReason 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 com.google.api.client.json.GenericJson
public RouterStatusBgpPeerStatus clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.