Reference documentation and code samples for the Compute V1 Client class BfdPacket.
Generated from protobuf messagegoogle.cloud.compute.v1.BfdPacket
Namespace
Google \ Cloud \ Compute \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ authentication_present
bool
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ control_plane_independent
bool
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ demand
bool
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ diagnostic
string
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.
↳ final
bool
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ length
int
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880
↳ min_echo_rx_interval_ms
int
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
↳ min_rx_interval_ms
int
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
↳ min_tx_interval_ms
int
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
↳ multiplier
int
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
↳ multipoint
bool
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ my_discriminator
int
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
↳ poll
bool
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
↳ state
string
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.
↳ version
int
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
↳ your_discriminator
int
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
Type
Description
bool
hasAuthenticationPresent
clearAuthenticationPresent
setAuthenticationPresent
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getControlPlaneIndependent
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
bool
hasControlPlaneIndependent
clearControlPlaneIndependent
setControlPlaneIndependent
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getDemand
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
bool
hasDemand
clearDemand
setDemand
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getFinal
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
bool
hasFinal
clearFinal
setFinal
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getLength
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasLength
clearLength
setLength
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMinEchoRxIntervalMs
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
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
Name
Description
var
int
Returns
Type
Description
$this
getMinRxIntervalMs
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasMinRxIntervalMs
clearMinRxIntervalMs
setMinRxIntervalMs
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMinTxIntervalMs
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasMinTxIntervalMs
clearMinTxIntervalMs
setMinTxIntervalMs
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMultiplier
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasMultiplier
clearMultiplier
setMultiplier
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMultipoint
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
bool
hasMultipoint
clearMultipoint
setMultipoint
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getMyDiscriminator
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasMyDiscriminator
clearMyDiscriminator
setMyDiscriminator
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPoll
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
bool
hasPoll
clearPoll
setPoll
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
Parameter
Name
Description
var
bool
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
getVersion
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
Returns
Type
Description
int
hasVersion
clearVersion
setVersion
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getYourDiscriminator
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
Returns
Type
Description
int
hasYourDiscriminator
clearYourDiscriminator
setYourDiscriminator
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Compute V1 Client - Class BfdPacket (1.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.35.0 (latest)](/php/docs/reference/cloud-compute/latest/V1.BfdPacket)\n- [1.34.0](/php/docs/reference/cloud-compute/1.34.0/V1.BfdPacket)\n- [1.33.0](/php/docs/reference/cloud-compute/1.33.0/V1.BfdPacket)\n- [1.32.0](/php/docs/reference/cloud-compute/1.32.0/V1.BfdPacket)\n- [1.31.0](/php/docs/reference/cloud-compute/1.31.0/V1.BfdPacket)\n- [1.30.0](/php/docs/reference/cloud-compute/1.30.0/V1.BfdPacket)\n- [1.29.0](/php/docs/reference/cloud-compute/1.29.0/V1.BfdPacket)\n- [1.28.0](/php/docs/reference/cloud-compute/1.28.0/V1.BfdPacket)\n- [1.27.0](/php/docs/reference/cloud-compute/1.27.0/V1.BfdPacket)\n- [1.26.0](/php/docs/reference/cloud-compute/1.26.0/V1.BfdPacket)\n- [1.25.0](/php/docs/reference/cloud-compute/1.25.0/V1.BfdPacket)\n- [1.24.0](/php/docs/reference/cloud-compute/1.24.0/V1.BfdPacket)\n- [1.23.0](/php/docs/reference/cloud-compute/1.23.0/V1.BfdPacket)\n- [1.22.1](/php/docs/reference/cloud-compute/1.22.1/V1.BfdPacket)\n- [1.21.0](/php/docs/reference/cloud-compute/1.21.0/V1.BfdPacket)\n- [1.20.0](/php/docs/reference/cloud-compute/1.20.0/V1.BfdPacket)\n- [1.19.0](/php/docs/reference/cloud-compute/1.19.0/V1.BfdPacket)\n- [1.18.1](/php/docs/reference/cloud-compute/1.18.1/V1.BfdPacket)\n- [1.17.0](/php/docs/reference/cloud-compute/1.17.0/V1.BfdPacket)\n- [1.16.2](/php/docs/reference/cloud-compute/1.16.2/V1.BfdPacket)\n- [1.14.0](/php/docs/reference/cloud-compute/1.14.0/V1.BfdPacket)\n- [1.13.0](/php/docs/reference/cloud-compute/1.13.0/V1.BfdPacket)\n- [1.12.1](/php/docs/reference/cloud-compute/1.12.1/V1.BfdPacket)\n- [1.11.1](/php/docs/reference/cloud-compute/1.11.1/V1.BfdPacket)\n- [1.10.1](/php/docs/reference/cloud-compute/1.10.1/V1.BfdPacket)\n- [1.9.1](/php/docs/reference/cloud-compute/1.9.1/V1.BfdPacket)\n- [1.8.3](/php/docs/reference/cloud-compute/1.8.3/V1.BfdPacket)\n- [1.7.1](/php/docs/reference/cloud-compute/1.7.1/V1.BfdPacket)\n- [1.6.1](/php/docs/reference/cloud-compute/1.6.1/V1.BfdPacket)\n- [1.5.0](/php/docs/reference/cloud-compute/1.5.0/V1.BfdPacket) \nReference documentation and code samples for the Compute V1 Client class BfdPacket.\n\nGenerated from protobuf message `google.cloud.compute.v1.BfdPacket`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Compute \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAuthenticationPresent\n\nThe Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasAuthenticationPresent\n\n### clearAuthenticationPresent\n\n### setAuthenticationPresent\n\nThe Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getControlPlaneIndependent\n\nThe Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasControlPlaneIndependent\n\n### clearControlPlaneIndependent\n\n### setControlPlaneIndependent\n\nThe Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getDemand\n\nThe demand bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasDemand\n\n### clearDemand\n\n### setDemand\n\nThe demand bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getDiagnostic\n\nThe 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\nCheck the Diagnostic enum for the list of possible values.\n\n### hasDiagnostic\n\n### clearDiagnostic\n\n### setDiagnostic\n\nThe 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\nCheck the Diagnostic enum for the list of possible values.\n\n### getFinal\n\nThe Final bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasFinal\n\n### clearFinal\n\n### setFinal\n\nThe Final bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getLength\n\nThe length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880\n\n### hasLength\n\n### clearLength\n\n### setLength\n\nThe length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880\n\n### getMinEchoRxIntervalMs\n\nThe Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMinEchoRxIntervalMs\n\n### clearMinEchoRxIntervalMs\n\n### setMinEchoRxIntervalMs\n\nThe Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getMinRxIntervalMs\n\nThe Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMinRxIntervalMs\n\n### clearMinRxIntervalMs\n\n### setMinRxIntervalMs\n\nThe Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getMinTxIntervalMs\n\nThe Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMinTxIntervalMs\n\n### clearMinTxIntervalMs\n\n### setMinTxIntervalMs\n\nThe Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getMultiplier\n\nThe detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMultiplier\n\n### clearMultiplier\n\n### setMultiplier\n\nThe detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getMultipoint\n\nThe multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMultipoint\n\n### clearMultipoint\n\n### setMultipoint\n\nThe multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getMyDiscriminator\n\nThe My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasMyDiscriminator\n\n### clearMyDiscriminator\n\n### setMyDiscriminator\n\nThe My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getPoll\n\nThe Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasPoll\n\n### clearPoll\n\n### setPoll\n\nThe Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880\n\n### getState\n\nThe current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880\nCheck the State enum for the list of possible values.\n\n### hasState\n\n### clearState\n\n### setState\n\nThe current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880\nCheck the State enum for the list of possible values.\n\n### getVersion\n\nThe version number of the BFD protocol, as specified in section 4.1 of RFC5880.\n\n### hasVersion\n\n### clearVersion\n\n### setVersion\n\nThe version number of the BFD protocol, as specified in section 4.1 of RFC5880.\n\n### getYourDiscriminator\n\nThe Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880\n\n### hasYourDiscriminator\n\n### clearYourDiscriminator\n\n### setYourDiscriminator\n\nThe Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880"]]