target.apidocs.com.google.api.services.compute.model.RouterStatusBgpPeerStatus.html Maven / Gradle / Ivy
RouterStatusBgpPeerStatus (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class RouterStatusBgpPeerStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.RouterStatusBgpPeerStatus
-
public final class RouterStatusBgpPeerStatus
extends com.google.api.client.json.GenericJson
Model definition for RouterStatusBgpPeerStatus.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RouterStatusBgpPeerStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdvertisedRoutes
public List<Route> getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
- Returns:
- value or
null for none
-
setAdvertisedRoutes
public RouterStatusBgpPeerStatus setAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer
- Parameters:
advertisedRoutes - advertisedRoutes or null for none
-
getBfdStatus
public BfdStatus getBfdStatus()
- Returns:
- value or
null for none
-
setBfdStatus
public RouterStatusBgpPeerStatus setBfdStatus(BfdStatus bfdStatus)
- Parameters:
bfdStatus - bfdStatus or null for none
-
getEnableIpv4
public Boolean getEnableIpv4()
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
- Returns:
- value or
null for none
-
setEnableIpv4
public RouterStatusBgpPeerStatus setEnableIpv4(Boolean enableIpv4)
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
- Parameters:
enableIpv4 - enableIpv4 or null for none
-
getEnableIpv6
public Boolean getEnableIpv6()
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
- Returns:
- value or
null for none
-
setEnableIpv6
public RouterStatusBgpPeerStatus setEnableIpv6(Boolean enableIpv6)
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
- Parameters:
enableIpv6 - enableIpv6 or null for none
-
getIpAddress
public String getIpAddress()
IP address of the local BGP interface.
- Returns:
- value or
null for none
-
setIpAddress
public RouterStatusBgpPeerStatus setIpAddress(String ipAddress)
IP address of the local BGP interface.
- Parameters:
ipAddress - ipAddress or null for none
-
getIpv4NexthopAddress
public String getIpv4NexthopAddress()
IPv4 address of the local BGP interface.
- Returns:
- value or
null for none
-
setIpv4NexthopAddress
public RouterStatusBgpPeerStatus setIpv4NexthopAddress(String ipv4NexthopAddress)
IPv4 address of the local BGP interface.
- Parameters:
ipv4NexthopAddress - ipv4NexthopAddress or null for none
-
getIpv6NexthopAddress
public String getIpv6NexthopAddress()
IPv6 address of the local BGP interface.
- Returns:
- value or
null for none
-
setIpv6NexthopAddress
public RouterStatusBgpPeerStatus setIpv6NexthopAddress(String ipv6NexthopAddress)
IPv6 address of the local BGP interface.
- Parameters:
ipv6NexthopAddress - ipv6NexthopAddress or null for none
-
getLinkedVpnTunnel
public String getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
- Returns:
- value or
null for none
-
setLinkedVpnTunnel
public RouterStatusBgpPeerStatus setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls.
- Parameters:
linkedVpnTunnel - linkedVpnTunnel or null for none
-
getMd5AuthEnabled
public Boolean getMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
- Returns:
- value or
null for none
-
setMd5AuthEnabled
public RouterStatusBgpPeerStatus setMd5AuthEnabled(Boolean md5AuthEnabled)
Informs whether MD5 authentication is enabled on this BGP peer.
- Parameters:
md5AuthEnabled - md5AuthEnabled or null for none
-
getName
public String getName()
Name of this BGP peer. Unique within the Routers resource.
- Returns:
- value or
null for none
-
setName
public RouterStatusBgpPeerStatus setName(String name)
Name of this BGP peer. Unique within the Routers resource.
- Parameters:
name - name or null for none
-
getNumLearnedRoutes
public Long getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
- Returns:
- value or
null for none
-
setNumLearnedRoutes
public RouterStatusBgpPeerStatus setNumLearnedRoutes(Long numLearnedRoutes)
Number of routes learned from the remote BGP Peer.
- Parameters:
numLearnedRoutes - numLearnedRoutes or null for none
-
getPeerIpAddress
public String getPeerIpAddress()
IP address of the remote BGP interface.
- Returns:
- value or
null for none
-
setPeerIpAddress
public RouterStatusBgpPeerStatus setPeerIpAddress(String peerIpAddress)
IP address of the remote BGP interface.
- Parameters:
peerIpAddress - peerIpAddress or null for none
-
getPeerIpv4NexthopAddress
public String getPeerIpv4NexthopAddress()
IPv4 address of the remote BGP interface.
- Returns:
- value or
null for none
-
setPeerIpv4NexthopAddress
public RouterStatusBgpPeerStatus setPeerIpv4NexthopAddress(String peerIpv4NexthopAddress)
IPv4 address of the remote BGP interface.
- Parameters:
peerIpv4NexthopAddress - peerIpv4NexthopAddress or null for none
-
getPeerIpv6NexthopAddress
public String getPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
- Returns:
- value or
null for none
-
setPeerIpv6NexthopAddress
public RouterStatusBgpPeerStatus setPeerIpv6NexthopAddress(String peerIpv6NexthopAddress)
IPv6 address of the remote BGP interface.
- Parameters:
peerIpv6NexthopAddress - peerIpv6NexthopAddress or null for none
-
getRouterApplianceInstance
public 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. The VM instance is the peer side of the
BGP session.
- Returns:
- value or
null for none
-
setRouterApplianceInstance
public 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. The VM instance is the peer side of the
BGP session.
- Parameters:
routerApplianceInstance - routerApplianceInstance or null for none
-
getState
public String getState()
The state of the BGP session. For a list of possible values for this field, see BGP session
states.
- Returns:
- value or
null for none
-
setState
public RouterStatusBgpPeerStatus setState(String state)
The state of the BGP session. For a list of possible values for this field, see BGP session
states.
- Parameters:
state - state or null for none
-
getStatus
public String getStatus()
Status of the BGP peer: {UP, DOWN}
- Returns:
- value or
null for none
-
setStatus
public RouterStatusBgpPeerStatus setStatus(String status)
Status of the BGP peer: {UP, DOWN}
- Parameters:
status - status or null for none
-
getStatusReason
public String getStatusReason()
Indicates why particular status was returned.
- Returns:
- value or
null for none
-
setStatusReason
public RouterStatusBgpPeerStatus setStatusReason(String statusReason)
Indicates why particular status was returned.
- Parameters:
statusReason - statusReason or null for none
-
getUptime
public String getUptime()
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59
seconds
- Returns:
- value or
null for none
-
setUptime
public RouterStatusBgpPeerStatus setUptime(String uptime)
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59
seconds
- Parameters:
uptime - uptime or null for none
-
getUptimeSeconds
public String getUptimeSeconds()
Time this session has been up, in seconds. Format: 145
- Returns:
- value or
null for none
-
setUptimeSeconds
public RouterStatusBgpPeerStatus setUptimeSeconds(String uptimeSeconds)
Time this session has been up, in seconds. Format: 145
- Parameters:
uptimeSeconds - uptimeSeconds or null for none
-
set
public RouterStatusBgpPeerStatus set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public RouterStatusBgpPeerStatus clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy