Class BfdStatus (1.15.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
TypeDescription
int

CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER

public static final int CONFIG_UPDATE_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_PACKET_COUNTS_FIELD_NUMBER

public static final int CONTROL_PACKET_COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_PACKET_INTERVALS_FIELD_NUMBER

public static final int CONTROL_PACKET_INTERVALS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCAL_DIAGNOSTIC_FIELD_NUMBER

public static final int LOCAL_DIAGNOSTIC_FIELD_NUMBER
Field Value
TypeDescription
int

LOCAL_STATE_FIELD_NUMBER

public static final int LOCAL_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER

public static final int NEGOTIATED_LOCAL_CONTROL_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
TypeDescription
int

RX_PACKET_FIELD_NUMBER

public static final int RX_PACKET_FIELD_NUMBER
Field Value
TypeDescription
int

TX_PACKET_FIELD_NUMBER

public static final int TX_PACKET_FIELD_NUMBER
Field Value
TypeDescription
int

UPTIME_MS_FIELD_NUMBER

public static final int UPTIME_MS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BfdStatus getDefaultInstance()
Returns
TypeDescription
BfdStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BfdStatus.Builder newBuilder()
Returns
TypeDescription
BfdStatus.Builder

newBuilder(BfdStatus prototype)

public static BfdStatus.Builder newBuilder(BfdStatus prototype)
Parameter
NameDescription
prototypeBfdStatus
Returns
TypeDescription
BfdStatus.Builder

parseDelimitedFrom(InputStream input)

public static BfdStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BfdStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BfdStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BfdStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BfdStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BfdStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BfdStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BfdStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BfdStatus> parser()
Returns
TypeDescription
Parser<BfdStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PacketIntervals

getControlPacketIntervalsCount()

public 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 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 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 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>

getDefaultInstanceForType()

public BfdStatus getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The negotiatedLocalControlTxIntervalMs.

getParserForType()

public Parser<BfdStatus> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BfdPacketOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BfdPacketOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUptimeMs()

public 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 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 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 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 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 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 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 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 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 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BfdStatus.Builder newBuilderForType()
Returns
TypeDescription
BfdStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BfdStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BfdStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BfdStatus.Builder toBuilder()
Returns
TypeDescription
BfdStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException