Compute V1 Client - Class BfdPacket (1.28.0)

Reference documentation and code samples for the Compute V1 Client class BfdPacket.

Generated from protobuf message google.cloud.compute.v1.BfdPacket

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ authentication_presentbool

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

↳ control_plane_independentbool

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

↳ demandbool

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

↳ diagnosticstring

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.

↳ finalbool

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

↳ lengthint

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

↳ min_echo_rx_interval_msint

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

↳ min_rx_interval_msint

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

↳ min_tx_interval_msint

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

↳ multiplierint

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

↳ multipointbool

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

↳ my_discriminatorint

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

↳ pollbool

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

↳ statestring

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.

↳ versionint

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

↳ your_discriminatorint

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

getAuthenticationPresent

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

Returns
TypeDescription
bool

hasAuthenticationPresent

clearAuthenticationPresent

setAuthenticationPresent

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getControlPlaneIndependent

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

Returns
TypeDescription
bool

hasControlPlaneIndependent

clearControlPlaneIndependent

setControlPlaneIndependent

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getDemand

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

Returns
TypeDescription
bool

hasDemand

clearDemand

setDemand

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

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.

Returns
TypeDescription
string

hasDiagnostic

clearDiagnostic

setDiagnostic

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.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getFinal

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

Returns
TypeDescription
bool

hasFinal

clearFinal

setFinal

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getLength

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

Returns
TypeDescription
int

hasLength

clearLength

setLength

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMinEchoRxIntervalMs

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

Returns
TypeDescription
int

hasMinEchoRxIntervalMs

clearMinEchoRxIntervalMs

setMinEchoRxIntervalMs

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMinRxIntervalMs

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

Returns
TypeDescription
int

hasMinRxIntervalMs

clearMinRxIntervalMs

setMinRxIntervalMs

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMinTxIntervalMs

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

Returns
TypeDescription
int

hasMinTxIntervalMs

clearMinTxIntervalMs

setMinTxIntervalMs

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMultiplier

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

Returns
TypeDescription
int

hasMultiplier

clearMultiplier

setMultiplier

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMultipoint

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

Returns
TypeDescription
bool

hasMultipoint

clearMultipoint

setMultipoint

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getMyDiscriminator

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

Returns
TypeDescription
int

hasMyDiscriminator

clearMyDiscriminator

setMyDiscriminator

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getPoll

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

Returns
TypeDescription
bool

hasPoll

clearPoll

setPoll

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

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

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.

Returns
TypeDescription
string

hasState

clearState

setState

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.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getVersion

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

Returns
TypeDescription
int

hasVersion

clearVersion

setVersion

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getYourDiscriminator

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

Returns
TypeDescription
int

hasYourDiscriminator

clearYourDiscriminator

setYourDiscriminator

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

Parameter
NameDescription
varint
Returns
TypeDescription
$this