Class BfdStatus (1.62.0)

public final class BfdStatus extends GeneratedMessageV3 implements BfdStatusOrBuilder

Next free: 15

Protobuf type google.cloud.compute.v1.BfdStatus

Implements

BfdStatusOrBuilder

Static Fields

BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER

public static final int BFD_SESSION_INITIALIZATION_MODE_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER

public static final int CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PACKET_COUNTS_FIELD_NUMBER

public static final int CONTROL_PACKET_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PACKET_INTERVALS_FIELD_NUMBER

public static final int CONTROL_PACKET_INTERVALS_FIELD_NUMBER
Field Value
Type Description
int

LOCAL_DIAGNOSTIC_FIELD_NUMBER

public static final int LOCAL_DIAGNOSTIC_FIELD_NUMBER
Field Value
Type Description
int

LOCAL_STATE_FIELD_NUMBER

public static final int LOCAL_STATE_FIELD_NUMBER
Field Value
Type Description
int

NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER

public static final int NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
Type Description
int

RX_PACKET_FIELD_NUMBER

public static final int RX_PACKET_FIELD_NUMBER
Field Value
Type Description
int

TX_PACKET_FIELD_NUMBER

public static final int TX_PACKET_FIELD_NUMBER
Field Value
Type Description
int

UPTIME_MS_FIELD_NUMBER

public static final int UPTIME_MS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BfdStatus getDefaultInstance()
Returns
Type Description
BfdStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BfdStatus.Builder newBuilder()
Returns
Type Description
BfdStatus.Builder

newBuilder(BfdStatus prototype)

public static BfdStatus.Builder newBuilder(BfdStatus prototype)
Parameter
Name Description
prototype BfdStatus
Returns
Type Description
BfdStatus.Builder

parseDelimitedFrom(InputStream input)

public static BfdStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BfdStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BfdStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BfdStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BfdStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BfdStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BfdStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BfdStatus> parser()
Returns
Type Description
Parser<BfdStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
BfdStatusPacketCounts

The controlPacketCounts.

getControlPacketCountsOrBuilder()

public BfdStatusPacketCountsOrBuilder getControlPacketCountsOrBuilder()

Control packet counts for the current BFD session.

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

Returns
Type Description
BfdStatusPacketCountsOrBuilder

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
Name Description
index int
Returns
Type Description
PacketIntervals

getControlPacketIntervalsCount()

public int getControlPacketIntervalsCount()

Inter-packet time interval statistics for control packets.

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

Returns
Type Description
int

getControlPacketIntervalsList()

public List<PacketIntervals> getControlPacketIntervalsList()

Inter-packet time interval statistics for control packets.

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

Returns
Type Description
List<PacketIntervals>

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
Name Description
index int
Returns
Type Description
PacketIntervalsOrBuilder

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
Type Description
BfdStatus

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
Type Description
Parser<BfdStatus>
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
Type Description
BfdPacket

The rxPacket.

getRxPacketOrBuilder()

public BfdPacketOrBuilder getRxPacketOrBuilder()

The most recent Rx control packet for this BFD session.

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

Returns
Type Description
BfdPacketOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
BfdPacket

The txPacket.

getTxPacketOrBuilder()

public BfdPacketOrBuilder getTxPacketOrBuilder()

The most recent Tx control packet for this BFD session.

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

Returns
Type Description
BfdPacketOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BfdStatus.Builder newBuilderForType()
Returns
Type Description
BfdStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BfdStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BfdStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BfdStatus.Builder toBuilder()
Returns
Type Description
BfdStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException