public final class BfdStatus extends GeneratedMessageV3 implements BfdStatusOrBuilder
Next free: 15
Protobuf type google.cloud.compute.v1.BfdStatus
Static Fields
BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER
public static final int BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER
Field Value
CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
CONTROL_PACKET_COUNTS_FIELD_NUMBER
public static final int CONTROL_PACKET_COUNTS_FIELD_NUMBER
Field Value
CONTROL_PACKET_INTERVALS_FIELD_NUMBER
public static final int CONTROL_PACKET_INTERVALS_FIELD_NUMBER
Field Value
LOCAL_DIAGNOSTIC_FIELD_NUMBER
public static final int LOCAL_DIAGNOSTIC_FIELD_NUMBER
Field Value
LOCAL_STATE_FIELD_NUMBER
public static final int LOCAL_STATE_FIELD_NUMBER
Field Value
NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER
public static final int NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
RX_PACKET_FIELD_NUMBER
public static final int RX_PACKET_FIELD_NUMBER
Field Value
TX_PACKET_FIELD_NUMBER
public static final int TX_PACKET_FIELD_NUMBER
Field Value
UPTIME_MS_FIELD_NUMBER
public static final int UPTIME_MS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BfdStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BfdStatus.Builder newBuilder()
Returns
newBuilder(BfdStatus prototype)
public static BfdStatus.Builder newBuilder(BfdStatus prototype)
Parameter
Returns
public static BfdStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BfdStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BfdStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BfdStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BfdStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BfdStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BfdStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BfdStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BfdStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
Check the BfdSessionInitializationMode enum for the list of possible values.
optional string bfd_session_initialization_mode = 218156954;
Returns
Type | Description |
String | The bfdSessionInitializationMode.
|
getBfdSessionInitializationModeBytes()
public 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
Type | Description |
ByteString | The bytes for bfdSessionInitializationMode.
|
getConfigUpdateTimestampMicros()
public long getConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;
Returns
Type | Description |
long | The configUpdateTimestampMicros.
|
getControlPacketCounts()
public BfdStatusPacketCounts getControlPacketCounts()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
Returns
getControlPacketCountsOrBuilder()
public BfdStatusPacketCountsOrBuilder getControlPacketCountsOrBuilder()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
Returns
getControlPacketIntervals(int index)
public PacketIntervals getControlPacketIntervals(int index)
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
Parameter
Returns
getControlPacketIntervalsCount()
public int getControlPacketIntervalsCount()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
Returns
getControlPacketIntervalsList()
public List<PacketIntervals> getControlPacketIntervalsList()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
Returns
getControlPacketIntervalsOrBuilder(int index)
public PacketIntervalsOrBuilder getControlPacketIntervalsOrBuilder(int index)
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
Parameter
Returns
getControlPacketIntervalsOrBuilderList()
public List<? extends PacketIntervalsOrBuilder> getControlPacketIntervalsOrBuilderList()
Inter-packet time interval statistics for control packets.
repeated .google.cloud.compute.v1.PacketIntervals control_packet_intervals = 500806649;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.PacketIntervalsOrBuilder> | |
getDefaultInstanceForType()
public BfdStatus getDefaultInstanceForType()
Returns
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
Check the LocalDiagnostic enum for the list of possible values.
optional string local_diagnostic = 463737083;
Returns
Type | Description |
String | The localDiagnostic.
|
getLocalDiagnosticBytes()
public 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
Type | Description |
ByteString | The bytes for localDiagnostic.
|
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
Check the LocalState enum for the list of possible values.
optional string local_state = 149195453;
Returns
Type | Description |
String | The localState.
|
getLocalStateBytes()
public 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
Type | Description |
ByteString | The bytes for localState.
|
getNegotiatedLocalControlTxIntervalMs()
public int getNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
Returns
Type | Description |
int | The negotiatedLocalControlTxIntervalMs.
|
getParserForType()
public Parser<BfdStatus> getParserForType()
Returns
Overrides
getRxPacket()
public BfdPacket getRxPacket()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
Returns
getRxPacketOrBuilder()
public BfdPacketOrBuilder getRxPacketOrBuilder()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTxPacket()
public BfdPacket getTxPacket()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
Returns
getTxPacketOrBuilder()
public BfdPacketOrBuilder getTxPacketOrBuilder()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUptimeMs()
public long getUptimeMs()
Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;
Returns
Type | Description |
long | The uptimeMs.
|
hasBfdSessionInitializationMode()
public 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
Type | Description |
boolean | Whether the bfdSessionInitializationMode field is set.
|
hasConfigUpdateTimestampMicros()
public boolean hasConfigUpdateTimestampMicros()
Unix timestamp of the most recent config update.
optional int64 config_update_timestamp_micros = 457195569;
Returns
Type | Description |
boolean | Whether the configUpdateTimestampMicros field is set.
|
hasControlPacketCounts()
public boolean hasControlPacketCounts()
Control packet counts for the current BFD session.
optional .google.cloud.compute.v1.BfdStatusPacketCounts control_packet_counts = 132573561;
Returns
Type | Description |
boolean | Whether the controlPacketCounts field is set.
|
hasLocalDiagnostic()
public 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
Type | Description |
boolean | Whether the localDiagnostic field is set.
|
hasLocalState()
public 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
Type | Description |
boolean | Whether the localState field is set.
|
hasNegotiatedLocalControlTxIntervalMs()
public boolean hasNegotiatedLocalControlTxIntervalMs()
Negotiated transmit interval for control packets.
optional uint32 negotiated_local_control_tx_interval_ms = 21768340;
Returns
Type | Description |
boolean | Whether the negotiatedLocalControlTxIntervalMs field is set.
|
hasRxPacket()
public boolean hasRxPacket()
The most recent Rx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket rx_packet = 505069729;
Returns
Type | Description |
boolean | Whether the rxPacket field is set.
|
hasTxPacket()
public boolean hasTxPacket()
The most recent Tx control packet for this BFD session.
optional .google.cloud.compute.v1.BfdPacket tx_packet = 111386275;
Returns
Type | Description |
boolean | Whether the txPacket field is set.
|
hasUptimeMs()
public boolean hasUptimeMs()
Session uptime in milliseconds. Value will be 0 if session is not up.
optional int64 uptime_ms = 125398365;
Returns
Type | Description |
boolean | Whether the uptimeMs field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BfdStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BfdStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BfdStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions