![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.BfdStatus.html Maven / Gradle / Ivy
BfdStatus (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class BfdStatus
- 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.BfdStatus
-
public final class BfdStatus
extends GenericJson
Next free: 15
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
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
BfdStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BfdStatus
clone()
String
getBfdSessionInitializationMode()
The BFD session initialization mode for this BGP peer.
Long
getConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
BfdStatusPacketCounts
getControlPacketCounts()
Control packet counts for the current BFD session.
List<PacketIntervals>
getControlPacketIntervals()
Inter-packet time interval statistics for control packets.
String
getLocalDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.
String
getLocalState()
The current BFD session state as seen by the transmitting system.
Long
getNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
BfdPacket
getRxPacket()
The most recent Rx control packet for this BFD session.
BfdPacket
getTxPacket()
The most recent Tx control packet for this BFD session.
Long
getUptimeMs()
Session uptime in milliseconds.
BfdStatus
set(String fieldName,
Object value)
BfdStatus
setBfdSessionInitializationMode(String bfdSessionInitializationMode)
The BFD session initialization mode for this BGP peer.
BfdStatus
setConfigUpdateTimestampMicros(Long configUpdateTimestampMicros)
Unix timestamp of the most recent config update.
BfdStatus
setControlPacketCounts(BfdStatusPacketCounts controlPacketCounts)
Control packet counts for the current BFD session.
BfdStatus
setControlPacketIntervals(List<PacketIntervals> controlPacketIntervals)
Inter-packet time interval statistics for control packets.
BfdStatus
setLocalDiagnostic(String localDiagnostic)
The diagnostic code specifies the local system's reason for the last change in session state.
BfdStatus
setLocalState(String localState)
The current BFD session state as seen by the transmitting system.
BfdStatus
setNegotiatedLocalControlTxIntervalMs(Long negotiatedLocalControlTxIntervalMs)
Negotiated transmit interval for control packets.
BfdStatus
setRxPacket(BfdPacket rxPacket)
The most recent Rx control packet for this BFD session.
BfdStatus
setTxPacket(BfdPacket txPacket)
The most recent Tx control packet for this BFD session.
BfdStatus
setUptimeMs(Long uptimeMs)
Session uptime in milliseconds.
-
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
-
getBfdSessionInitializationMode
public String getBfdSessionInitializationMode()
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will
initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for
the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
disabled for this BGP peer.
- Returns:
- value or
null
for none
-
setBfdSessionInitializationMode
public BfdStatus setBfdSessionInitializationMode(String bfdSessionInitializationMode)
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will
initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for
the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
disabled for this BGP peer.
- Parameters:
bfdSessionInitializationMode
- bfdSessionInitializationMode or null
for none
-
getConfigUpdateTimestampMicros
public Long getConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
- Returns:
- value or
null
for none
-
setConfigUpdateTimestampMicros
public BfdStatus setConfigUpdateTimestampMicros(Long configUpdateTimestampMicros)
Unix timestamp of the most recent config update.
- Parameters:
configUpdateTimestampMicros
- configUpdateTimestampMicros or null
for none
-
getControlPacketCounts
public BfdStatusPacketCounts getControlPacketCounts()
Control packet counts for the current BFD session.
- Returns:
- value or
null
for none
-
setControlPacketCounts
public BfdStatus setControlPacketCounts(BfdStatusPacketCounts controlPacketCounts)
Control packet counts for the current BFD session.
- Parameters:
controlPacketCounts
- controlPacketCounts or null
for none
-
getControlPacketIntervals
public List<PacketIntervals> getControlPacketIntervals()
Inter-packet time interval statistics for control packets.
- Returns:
- value or
null
for none
-
setControlPacketIntervals
public BfdStatus setControlPacketIntervals(List<PacketIntervals> controlPacketIntervals)
Inter-packet time interval statistics for control packets.
- Parameters:
controlPacketIntervals
- controlPacketIntervals or null
for none
-
getLocalDiagnostic
public String getLocalDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.
This allows remote systems to determine the reason that the previous session failed, for
example. These diagnostic codes are specified in section 4.1 of RFC5880
- Returns:
- value or
null
for none
-
setLocalDiagnostic
public BfdStatus setLocalDiagnostic(String localDiagnostic)
The diagnostic code specifies the local system's reason for the last change in session state.
This allows remote systems to determine the reason that the previous session failed, for
example. These diagnostic codes are specified in section 4.1 of RFC5880
- Parameters:
localDiagnostic
- localDiagnostic or null
for none
-
getLocalState
public String getLocalState()
The current BFD session state as seen by the transmitting system. These states are specified in
section 4.1 of RFC5880
- Returns:
- value or
null
for none
-
setLocalState
public BfdStatus setLocalState(String localState)
The current BFD session state as seen by the transmitting system. These states are specified in
section 4.1 of RFC5880
- Parameters:
localState
- localState or null
for none
-
getNegotiatedLocalControlTxIntervalMs
public Long getNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
- Returns:
- value or
null
for none
-
setNegotiatedLocalControlTxIntervalMs
public BfdStatus setNegotiatedLocalControlTxIntervalMs(Long negotiatedLocalControlTxIntervalMs)
Negotiated transmit interval for control packets.
- Parameters:
negotiatedLocalControlTxIntervalMs
- negotiatedLocalControlTxIntervalMs or null
for none
-
getRxPacket
public BfdPacket getRxPacket()
The most recent Rx control packet for this BFD session.
- Returns:
- value or
null
for none
-
setRxPacket
public BfdStatus setRxPacket(BfdPacket rxPacket)
The most recent Rx control packet for this BFD session.
- Parameters:
rxPacket
- rxPacket or null
for none
-
getTxPacket
public BfdPacket getTxPacket()
The most recent Tx control packet for this BFD session.
- Returns:
- value or
null
for none
-
setTxPacket
public BfdStatus setTxPacket(BfdPacket txPacket)
The most recent Tx control packet for this BFD session.
- Parameters:
txPacket
- txPacket or null
for none
-
getUptimeMs
public Long getUptimeMs()
Session uptime in milliseconds. Value will be 0 if session is not up.
- Returns:
- value or
null
for none
-
setUptimeMs
public BfdStatus setUptimeMs(Long uptimeMs)
Session uptime in milliseconds. Value will be 0 if session is not up.
- Parameters:
uptimeMs
- uptimeMs or null
for none
-
set
public BfdStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public BfdStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy