Class BfdPacket (1.52.0)

public final class BfdPacket extends GeneratedMessageV3 implements BfdPacketOrBuilder

Protobuf type google.cloud.compute.v1.BfdPacket

Implements

BfdPacketOrBuilder

Static Fields

AUTHENTICATION_PRESENT_FIELD_NUMBER

public static final int AUTHENTICATION_PRESENT_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER

public static final int CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER
Field Value
Type Description
int

DEMAND_FIELD_NUMBER

public static final int DEMAND_FIELD_NUMBER
Field Value
Type Description
int

DIAGNOSTIC_FIELD_NUMBER

public static final int DIAGNOSTIC_FIELD_NUMBER
Field Value
Type Description
int

FINAL_FIELD_NUMBER

public static final int FINAL_FIELD_NUMBER
Field Value
Type Description
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
Type Description
int

MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
Type Description
int

MIN_RX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
Type Description
int

MIN_TX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
Type Description
int

MULTIPLIER_FIELD_NUMBER

public static final int MULTIPLIER_FIELD_NUMBER
Field Value
Type Description
int

MULTIPOINT_FIELD_NUMBER

public static final int MULTIPOINT_FIELD_NUMBER
Field Value
Type Description
int

MY_DISCRIMINATOR_FIELD_NUMBER

public static final int MY_DISCRIMINATOR_FIELD_NUMBER
Field Value
Type Description
int

POLL_FIELD_NUMBER

public static final int POLL_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

YOUR_DISCRIMINATOR_FIELD_NUMBER

public static final int YOUR_DISCRIMINATOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BfdPacket getDefaultInstance()
Returns
Type Description
BfdPacket

getDescriptor()

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

newBuilder()

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

newBuilder(BfdPacket prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthenticationPresent()

public boolean getAuthenticationPresent()

The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool authentication_present = 105974260;

Returns
Type Description
boolean

The authenticationPresent.

getControlPlaneIndependent()

public boolean getControlPlaneIndependent()

The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool control_plane_independent = 62363573;

Returns
Type Description
boolean

The controlPlaneIndependent.

getDefaultInstanceForType()

public BfdPacket getDefaultInstanceForType()
Returns
Type Description
BfdPacket

getDemand()

public boolean getDemand()

The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool demand = 275180107;

Returns
Type Description
boolean

The demand.

getDiagnostic()

public String getDiagnostic()

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 Diagnostic enum for the list of possible values.

optional string diagnostic = 62708647;

Returns
Type Description
String

The diagnostic.

getDiagnosticBytes()

public ByteString getDiagnosticBytes()

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 Diagnostic enum for the list of possible values.

optional string diagnostic = 62708647;

Returns
Type Description
ByteString

The bytes for diagnostic.

getFinal()

public boolean getFinal()

The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool final = 97436022;

Returns
Type Description
boolean

The final.

getLength()

public int getLength()

The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880

optional uint32 length = 504249062;

Returns
Type Description
int

The length.

getMinEchoRxIntervalMs()

public int getMinEchoRxIntervalMs()

The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_echo_rx_interval_ms = 97286868;

Returns
Type Description
int

The minEchoRxIntervalMs.

getMinRxIntervalMs()

public int getMinRxIntervalMs()

The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_rx_interval_ms = 463399028;

Returns
Type Description
int

The minRxIntervalMs.

getMinTxIntervalMs()

public int getMinTxIntervalMs()

The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_tx_interval_ms = 526023602;

Returns
Type Description
int

The minTxIntervalMs.

getMultiplier()

public int getMultiplier()

The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 multiplier = 191331777;

Returns
Type Description
int

The multiplier.

getMultipoint()

public boolean getMultipoint()

The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool multipoint = 191421431;

Returns
Type Description
boolean

The multipoint.

getMyDiscriminator()

public int getMyDiscriminator()

The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 my_discriminator = 76663113;

Returns
Type Description
int

The myDiscriminator.

getParserForType()

public Parser<BfdPacket> getParserForType()
Returns
Type Description
Parser<BfdPacket>
Overrides

getPoll()

public boolean getPoll()

The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool poll = 3446719;

Returns
Type Description
boolean

The poll.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public String getState()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getVersion()

public int getVersion()

The version number of the BFD protocol, as specified in section 4.1 of RFC5880.

optional uint32 version = 351608024;

Returns
Type Description
int

The version.

getYourDiscriminator()

public int getYourDiscriminator()

The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 your_discriminator = 515634064;

Returns
Type Description
int

The yourDiscriminator.

hasAuthenticationPresent()

public boolean hasAuthenticationPresent()

The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool authentication_present = 105974260;

Returns
Type Description
boolean

Whether the authenticationPresent field is set.

hasControlPlaneIndependent()

public boolean hasControlPlaneIndependent()

The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool control_plane_independent = 62363573;

Returns
Type Description
boolean

Whether the controlPlaneIndependent field is set.

hasDemand()

public boolean hasDemand()

The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool demand = 275180107;

Returns
Type Description
boolean

Whether the demand field is set.

hasDiagnostic()

public boolean hasDiagnostic()

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 Diagnostic enum for the list of possible values.

optional string diagnostic = 62708647;

Returns
Type Description
boolean

Whether the diagnostic field is set.

hasFinal()

public boolean hasFinal()

The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool final = 97436022;

Returns
Type Description
boolean

Whether the final field is set.

hasLength()

public boolean hasLength()

The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880

optional uint32 length = 504249062;

Returns
Type Description
boolean

Whether the length field is set.

hasMinEchoRxIntervalMs()

public boolean hasMinEchoRxIntervalMs()

The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_echo_rx_interval_ms = 97286868;

Returns
Type Description
boolean

Whether the minEchoRxIntervalMs field is set.

hasMinRxIntervalMs()

public boolean hasMinRxIntervalMs()

The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_rx_interval_ms = 463399028;

Returns
Type Description
boolean

Whether the minRxIntervalMs field is set.

hasMinTxIntervalMs()

public boolean hasMinTxIntervalMs()

The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 min_tx_interval_ms = 526023602;

Returns
Type Description
boolean

Whether the minTxIntervalMs field is set.

hasMultiplier()

public boolean hasMultiplier()

The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 multiplier = 191331777;

Returns
Type Description
boolean

Whether the multiplier field is set.

hasMultipoint()

public boolean hasMultipoint()

The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool multipoint = 191421431;

Returns
Type Description
boolean

Whether the multipoint field is set.

hasMyDiscriminator()

public boolean hasMyDiscriminator()

The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 my_discriminator = 76663113;

Returns
Type Description
boolean

Whether the myDiscriminator field is set.

hasPoll()

public boolean hasPoll()

The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880

optional bool poll = 3446719;

Returns
Type Description
boolean

Whether the poll field is set.

hasState()

public boolean hasState()

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

hasVersion()

public boolean hasVersion()

The version number of the BFD protocol, as specified in section 4.1 of RFC5880.

optional uint32 version = 351608024;

Returns
Type Description
boolean

Whether the version field is set.

hasYourDiscriminator()

public boolean hasYourDiscriminator()

The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880

optional uint32 your_discriminator = 515634064;

Returns
Type Description
boolean

Whether the yourDiscriminator 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 BfdPacket.Builder newBuilderForType()
Returns
Type Description
BfdPacket.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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