Interface BfdStatusOrBuilder (1.41.0)

public interface BfdStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBfdSessionInitializationMode()

public abstract 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. Check the BfdSessionInitializationMode enum for the list of possible values.

optional string bfd_session_initialization_mode = 218156954;

Returns
TypeDescription
String

The bfdSessionInitializationMode.

getBfdSessionInitializationModeBytes()

public abstract ByteString getBfdSessionInitializationModeBytes()

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. Check the BfdSessionInitializationMode enum for the list of possible values.

optional string bfd_session_initialization_mode = 218156954;

Returns
TypeDescription
ByteString

The bytes for bfdSessionInitializationMode.

getConfigUpdateTimestampMicros()

public abstract long getConfigUpdateTimestampMicros()

Unix timestamp of the most recent config update.

optional int64 config_update_timestamp_micros = 457195569;

Returns
TypeDescription
long

The configUpdateTimestampMicros.

getControlPacketCounts()

public abstract BfdStatusPacketCounts getControlPacketCounts()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatusPacketCounts

The controlPacketCounts.

getControlPacketCountsOrBuilder()

public abstract BfdStatusPacketCountsOrBuilder getControlPacketCountsOrBuilder()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
BfdStatusPacketCountsOrBuilder

getControlPacketIntervals(int index)

public abstract PacketIntervals getControlPacketIntervals(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervals

getControlPacketIntervalsCount()

public abstract int getControlPacketIntervalsCount()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
int

getControlPacketIntervalsList()

public abstract List<PacketIntervals> getControlPacketIntervalsList()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
List<PacketIntervals>

getControlPacketIntervalsOrBuilder(int index)

public abstract PacketIntervalsOrBuilder getControlPacketIntervalsOrBuilder(int index)

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Parameter
NameDescription
indexint
Returns
TypeDescription
PacketIntervalsOrBuilder

getControlPacketIntervalsOrBuilderList()

public abstract List<? extends PacketIntervalsOrBuilder> getControlPacketIntervalsOrBuilderList()

Inter-packet time interval statistics for control packets.

repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.PacketIntervalsOrBuilder>

getLocalDiagnostic()

public abstract 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 Check the LocalDiagnostic enum for the list of possible values.

optional string local_diagnostic = 463737083;

Returns
TypeDescription
String

The localDiagnostic.

getLocalDiagnosticBytes()

public abstract ByteString getLocalDiagnosticBytes()

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 Check the LocalDiagnostic enum for the list of possible values.

optional string local_diagnostic = 463737083;

Returns
TypeDescription
ByteString

The bytes for localDiagnostic.

getLocalState()

public abstract String getLocalState()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.

optional string local_state = 149195453;

Returns
TypeDescription
String

The localState.

getLocalStateBytes()

public abstract ByteString getLocalStateBytes()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.

optional string local_state = 149195453;

Returns
TypeDescription
ByteString

The bytes for localState.

getNegotiatedLocalControlTxIntervalMs()

public abstract int getNegotiatedLocalControlTxIntervalMs()

Negotiated transmit interval for control packets.

optional uint32 negotiated_local_control_tx_interval_ms = 21768340;

Returns
TypeDescription
int

The negotiatedLocalControlTxIntervalMs.

getRxPacket()

public abstract BfdPacket getRxPacket()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdPacket

The rxPacket.

getRxPacketOrBuilder()

public abstract BfdPacketOrBuilder getRxPacketOrBuilder()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
BfdPacketOrBuilder

getTxPacket()

public abstract BfdPacket getTxPacket()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdPacket

The txPacket.

getTxPacketOrBuilder()

public abstract BfdPacketOrBuilder getTxPacketOrBuilder()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
BfdPacketOrBuilder

getUptimeMs()

public abstract long getUptimeMs()

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Returns
TypeDescription
long

The uptimeMs.

hasBfdSessionInitializationMode()

public abstract boolean hasBfdSessionInitializationMode()

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. Check the BfdSessionInitializationMode enum for the list of possible values.

optional string bfd_session_initialization_mode = 218156954;

Returns
TypeDescription
boolean

Whether the bfdSessionInitializationMode field is set.

hasConfigUpdateTimestampMicros()

public abstract boolean hasConfigUpdateTimestampMicros()

Unix timestamp of the most recent config update.

optional int64 config_update_timestamp_micros = 457195569;

Returns
TypeDescription
boolean

Whether the configUpdateTimestampMicros field is set.

hasControlPacketCounts()

public abstract boolean hasControlPacketCounts()

Control packet counts for the current BFD session.

optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;

Returns
TypeDescription
boolean

Whether the controlPacketCounts field is set.

hasLocalDiagnostic()

public abstract boolean hasLocalDiagnostic()

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 Check the LocalDiagnostic enum for the list of possible values.

optional string local_diagnostic = 463737083;

Returns
TypeDescription
boolean

Whether the localDiagnostic field is set.

hasLocalState()

public abstract boolean hasLocalState()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the LocalState enum for the list of possible values.

optional string local_state = 149195453;

Returns
TypeDescription
boolean

Whether the localState field is set.

hasNegotiatedLocalControlTxIntervalMs()

public abstract boolean hasNegotiatedLocalControlTxIntervalMs()

Negotiated transmit interval for control packets.

optional uint32 negotiated_local_control_tx_interval_ms = 21768340;

Returns
TypeDescription
boolean

Whether the negotiatedLocalControlTxIntervalMs field is set.

hasRxPacket()

public abstract boolean hasRxPacket()

The most recent Rx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;

Returns
TypeDescription
boolean

Whether the rxPacket field is set.

hasTxPacket()

public abstract boolean hasTxPacket()

The most recent Tx control packet for this BFD session.

optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;

Returns
TypeDescription
boolean

Whether the txPacket field is set.

hasUptimeMs()

public abstract boolean hasUptimeMs()

Session uptime in milliseconds. Value will be 0 if session is not up.

optional int64 uptime_ms = 125398365;

Returns
TypeDescription
boolean

Whether the uptimeMs field is set.