Package com.google.cloud.compute.v1
Interface BfdStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BfdStatus
,BfdStatus.Builder
public interface BfdStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBfdSessionInitializationMode()
The BFD session initialization mode for this BGP peer.com.google.protobuf.ByteString
getBfdSessionInitializationModeBytes()
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.BfdStatusPacketCountsOrBuilder
getControlPacketCountsOrBuilder()
Control packet counts for the current BFD session.PacketIntervals
getControlPacketIntervals(int index)
Inter-packet time interval statistics for control packets.int
getControlPacketIntervalsCount()
Inter-packet time interval statistics for control packets.List<PacketIntervals>
getControlPacketIntervalsList()
Inter-packet time interval statistics for control packets.PacketIntervalsOrBuilder
getControlPacketIntervalsOrBuilder(int index)
Inter-packet time interval statistics for control packets.List<? extends PacketIntervalsOrBuilder>
getControlPacketIntervalsOrBuilderList()
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.com.google.protobuf.ByteString
getLocalDiagnosticBytes()
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.com.google.protobuf.ByteString
getLocalStateBytes()
The current BFD session state as seen by the transmitting system.int
getNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.BfdPacket
getRxPacket()
The most recent Rx control packet for this BFD session.BfdPacketOrBuilder
getRxPacketOrBuilder()
The most recent Rx control packet for this BFD session.BfdPacket
getTxPacket()
The most recent Tx control packet for this BFD session.BfdPacketOrBuilder
getTxPacketOrBuilder()
The most recent Tx control packet for this BFD session.long
getUptimeMs()
Session uptime in milliseconds.boolean
hasBfdSessionInitializationMode()
The BFD session initialization mode for this BGP peer.boolean
hasConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.boolean
hasControlPacketCounts()
Control packet counts for the current BFD session.boolean
hasLocalDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.boolean
hasLocalState()
The current BFD session state as seen by the transmitting system.boolean
hasNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.boolean
hasRxPacket()
The most recent Rx control packet for this BFD session.boolean
hasTxPacket()
The most recent Tx control packet for this BFD session.boolean
hasUptimeMs()
Session uptime in milliseconds.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBfdSessionInitializationMode
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:
- Whether the bfdSessionInitializationMode field is set.
-
getBfdSessionInitializationMode
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:
- The bfdSessionInitializationMode.
-
getBfdSessionInitializationModeBytes
com.google.protobuf.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:
- The bytes for bfdSessionInitializationMode.
-
hasConfigUpdateTimestampMicros
boolean hasConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;
- Returns:
- Whether the configUpdateTimestampMicros field is set.
-
getConfigUpdateTimestampMicros
long getConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;
- Returns:
- The configUpdateTimestampMicros.
-
hasControlPacketCounts
boolean hasControlPacketCounts()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
- Returns:
- Whether the controlPacketCounts field is set.
-
getControlPacketCounts
BfdStatusPacketCounts getControlPacketCounts()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
- Returns:
- The controlPacketCounts.
-
getControlPacketCountsOrBuilder
BfdStatusPacketCountsOrBuilder getControlPacketCountsOrBuilder()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
-
getControlPacketIntervalsList
List<PacketIntervals> getControlPacketIntervalsList()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
-
getControlPacketIntervals
PacketIntervals getControlPacketIntervals(int index)
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
-
getControlPacketIntervalsCount
int getControlPacketIntervalsCount()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
-
getControlPacketIntervalsOrBuilderList
List<? extends PacketIntervalsOrBuilder> getControlPacketIntervalsOrBuilderList()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
-
getControlPacketIntervalsOrBuilder
PacketIntervalsOrBuilder getControlPacketIntervalsOrBuilder(int index)
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
-
hasLocalDiagnostic
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:
- Whether the localDiagnostic field is set.
-
getLocalDiagnostic
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:
- The localDiagnostic.
-
getLocalDiagnosticBytes
com.google.protobuf.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:
- The bytes for localDiagnostic.
-
hasLocalState
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:
- Whether the localState field is set.
-
getLocalState
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:
- The localState.
-
getLocalStateBytes
com.google.protobuf.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:
- The bytes for localState.
-
hasNegotiatedLocalControlTxIntervalMs
boolean hasNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
- Returns:
- Whether the negotiatedLocalControlTxIntervalMs field is set.
-
getNegotiatedLocalControlTxIntervalMs
int getNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
- Returns:
- The negotiatedLocalControlTxIntervalMs.
-
hasRxPacket
boolean hasRxPacket()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
- Returns:
- Whether the rxPacket field is set.
-
getRxPacket
BfdPacket getRxPacket()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
- Returns:
- The rxPacket.
-
getRxPacketOrBuilder
BfdPacketOrBuilder getRxPacketOrBuilder()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
-
hasTxPacket
boolean hasTxPacket()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
- Returns:
- Whether the txPacket field is set.
-
getTxPacket
BfdPacket getTxPacket()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
- Returns:
- The txPacket.
-
getTxPacketOrBuilder
BfdPacketOrBuilder getTxPacketOrBuilder()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
-
hasUptimeMs
boolean hasUptimeMs()
Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;
- Returns:
- Whether the uptimeMs field is set.
-
getUptimeMs
long getUptimeMs()
Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;
- Returns:
- The uptimeMs.
-
-