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
@Generated
public interface BfdStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe BFD session initialization mode for this BGP peer.com.google.protobuf.ByteStringThe BFD session initialization mode for this BGP peer.longUnix timestamp of the most recent config update.Control packet counts for the current BFD session.Control packet counts for the current BFD session.getControlPacketIntervals(int index) Inter-packet time interval statistics for control packets.intInter-packet time interval statistics for control packets.Inter-packet time interval statistics for control packets.getControlPacketIntervalsOrBuilder(int index) Inter-packet time interval statistics for control packets.List<? extends PacketIntervalsOrBuilder>Inter-packet time interval statistics for control packets.The diagnostic code specifies the local system's reason for the last change in session state.com.google.protobuf.ByteStringThe diagnostic code specifies the local system's reason for the last change in session state.The current BFD session state as seen by the transmitting system.com.google.protobuf.ByteStringThe current BFD session state as seen by the transmitting system.intNegotiated transmit interval for control packets.The most recent Rx control packet for this BFD session.The most recent Rx control packet for this BFD session.The most recent Tx control packet for this BFD session.The most recent Tx control packet for this BFD session.longSession uptime in milliseconds.booleanThe BFD session initialization mode for this BGP peer.booleanUnix timestamp of the most recent config update.booleanControl packet counts for the current BFD session.booleanThe diagnostic code specifies the local system's reason for the last change in session state.booleanThe current BFD session state as seen by the transmitting system.booleanNegotiated transmit interval for control packets.booleanThe most recent Rx control packet for this BFD session.booleanThe most recent Tx control packet for this BFD session.booleanSession uptime in milliseconds.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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 ofRFC5880 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 ofRFC5880 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 ofRFC5880 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 ofRFC5880 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 ofRFC5880 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 ofRFC5880 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.
-