Class BfdPacket (1.29.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
TypeDescription
int

CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER

public static final int CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER
Field Value
TypeDescription
int

DEMAND_FIELD_NUMBER

public static final int DEMAND_FIELD_NUMBER
Field Value
TypeDescription
int

DIAGNOSTIC_FIELD_NUMBER

public static final int DIAGNOSTIC_FIELD_NUMBER
Field Value
TypeDescription
int

FINAL_FIELD_NUMBER

public static final int FINAL_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_RX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_TX_INTERVAL_MS_FIELD_NUMBER

public static final int MIN_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
TypeDescription
int

MULTIPLIER_FIELD_NUMBER

public static final int MULTIPLIER_FIELD_NUMBER
Field Value
TypeDescription
int

MULTIPOINT_FIELD_NUMBER

public static final int MULTIPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

MY_DISCRIMINATOR_FIELD_NUMBER

public static final int MY_DISCRIMINATOR_FIELD_NUMBER
Field Value
TypeDescription
int

POLL_FIELD_NUMBER

public static final int POLL_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

YOUR_DISCRIMINATOR_FIELD_NUMBER

public static final int YOUR_DISCRIMINATOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BfdPacket getDefaultInstance()
Returns
TypeDescription
BfdPacket

getDescriptor()

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

newBuilder()

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

newBuilder(BfdPacket prototype)

public static BfdPacket.Builder newBuilder(BfdPacket prototype)
Parameter
NameDescription
prototypeBfdPacket
Returns
TypeDescription
BfdPacket.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The controlPlaneIndependent.

getDefaultInstanceForType()

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

The myDiscriminator.

getParserForType()

public Parser<BfdPacket> getParserForType()
Returns
TypeDescription
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
TypeDescription
boolean

The poll.

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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