public final class BfdPacket extends GeneratedMessageV3 implements BfdPacketOrBuilder
Protobuf type google.cloud.compute.v1.BfdPacket
Static Fields
AUTHENTICATION_PRESENT_FIELD_NUMBER
public static final int AUTHENTICATION_PRESENT_FIELD_NUMBER
Field Value
CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER
public static final int CONTROL_PLANE_INDEPENDENT_FIELD_NUMBER
Field Value
DEMAND_FIELD_NUMBER
public static final int DEMAND_FIELD_NUMBER
Field Value
DIAGNOSTIC_FIELD_NUMBER
public static final int DIAGNOSTIC_FIELD_NUMBER
Field Value
FINAL_FIELD_NUMBER
public static final int FINAL_FIELD_NUMBER
Field Value
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
Field Value
MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER
public static final int MIN_ECHO_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
MIN_RX_INTERVAL_MS_FIELD_NUMBER
public static final int MIN_RX_INTERVAL_MS_FIELD_NUMBER
Field Value
MIN_TX_INTERVAL_MS_FIELD_NUMBER
public static final int MIN_TX_INTERVAL_MS_FIELD_NUMBER
Field Value
MULTIPLIER_FIELD_NUMBER
public static final int MULTIPLIER_FIELD_NUMBER
Field Value
MULTIPOINT_FIELD_NUMBER
public static final int MULTIPOINT_FIELD_NUMBER
Field Value
MY_DISCRIMINATOR_FIELD_NUMBER
public static final int MY_DISCRIMINATOR_FIELD_NUMBER
Field Value
POLL_FIELD_NUMBER
public static final int POLL_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
YOUR_DISCRIMINATOR_FIELD_NUMBER
public static final int YOUR_DISCRIMINATOR_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BfdPacket getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BfdPacket.Builder newBuilder()
Returns
newBuilder(BfdPacket prototype)
public static BfdPacket.Builder newBuilder(BfdPacket prototype)
Parameter
Returns
public static BfdPacket parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdPacket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BfdPacket parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BfdPacket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BfdPacket parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BfdPacket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdPacket parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BfdPacket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BfdPacket parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BfdPacket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BfdPacket parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BfdPacket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BfdPacket> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
Overrides
getPoll()
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool poll = 3446719;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BfdPacket.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BfdPacket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BfdPacket.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions