- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class BfdPacket.Builder extends GeneratedMessageV3.Builder<BfdPacket.Builder> implements BfdPacketOrBuilder
Protobuf type google.cloud.compute.v1.BfdPacket
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BfdPacket.BuilderImplements
BfdPacketOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BfdPacket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
build()
public BfdPacket build()
Returns | |
---|---|
Type | Description |
BfdPacket |
buildPartial()
public BfdPacket buildPartial()
Returns | |
---|---|
Type | Description |
BfdPacket |
clear()
public BfdPacket.Builder clear()
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
clearAuthenticationPresent()
public BfdPacket.Builder clearAuthenticationPresent()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearControlPlaneIndependent()
public BfdPacket.Builder clearControlPlaneIndependent()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearDemand()
public BfdPacket.Builder clearDemand()
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool demand = 275180107;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearDiagnostic()
public BfdPacket.Builder clearDiagnostic()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BfdPacket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
clearFinal()
public BfdPacket.Builder clearFinal()
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool final = 97436022;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearLength()
public BfdPacket.Builder clearLength()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearMinEchoRxIntervalMs()
public BfdPacket.Builder clearMinEchoRxIntervalMs()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearMinRxIntervalMs()
public BfdPacket.Builder clearMinRxIntervalMs()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearMinTxIntervalMs()
public BfdPacket.Builder clearMinTxIntervalMs()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearMultiplier()
public BfdPacket.Builder clearMultiplier()
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
optional uint32 multiplier = 191331777;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearMultipoint()
public BfdPacket.Builder clearMultipoint()
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool multipoint = 191421431;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearMyDiscriminator()
public BfdPacket.Builder clearMyDiscriminator()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BfdPacket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
clearPoll()
public BfdPacket.Builder clearPoll()
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool poll = 3446719;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearState()
public BfdPacket.Builder clearState()
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 |
BfdPacket.Builder |
This builder for chaining. |
clearVersion()
public BfdPacket.Builder clearVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
optional uint32 version = 351608024;
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
clearYourDiscriminator()
public BfdPacket.Builder clearYourDiscriminator()
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 |
BfdPacket.Builder |
This builder for chaining. |
clone()
public BfdPacket.Builder clone()
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BfdPacket other)
public BfdPacket.Builder mergeFrom(BfdPacket other)
Parameter | |
---|---|
Name | Description |
other |
BfdPacket |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BfdPacket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BfdPacket.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BfdPacket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
setAuthenticationPresent(boolean value)
public BfdPacket.Builder setAuthenticationPresent(boolean value)
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool authentication_present = 105974260;
Parameter | |
---|---|
Name | Description |
value |
boolean The authenticationPresent to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setControlPlaneIndependent(boolean value)
public BfdPacket.Builder setControlPlaneIndependent(boolean value)
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool control_plane_independent = 62363573;
Parameter | |
---|---|
Name | Description |
value |
boolean The controlPlaneIndependent to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setDemand(boolean value)
public BfdPacket.Builder setDemand(boolean value)
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool demand = 275180107;
Parameter | |
---|---|
Name | Description |
value |
boolean The demand to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setDiagnostic(String value)
public BfdPacket.Builder setDiagnostic(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The diagnostic to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setDiagnosticBytes(ByteString value)
public BfdPacket.Builder setDiagnosticBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for diagnostic to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BfdPacket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
setFinal(boolean value)
public BfdPacket.Builder setFinal(boolean value)
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool final = 97436022;
Parameter | |
---|---|
Name | Description |
value |
boolean The final to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setLength(int value)
public BfdPacket.Builder setLength(int value)
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880
optional uint32 length = 504249062;
Parameter | |
---|---|
Name | Description |
value |
int The length to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMinEchoRxIntervalMs(int value)
public BfdPacket.Builder setMinEchoRxIntervalMs(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The minEchoRxIntervalMs to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMinRxIntervalMs(int value)
public BfdPacket.Builder setMinRxIntervalMs(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The minRxIntervalMs to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMinTxIntervalMs(int value)
public BfdPacket.Builder setMinTxIntervalMs(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The minTxIntervalMs to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMultiplier(int value)
public BfdPacket.Builder setMultiplier(int value)
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
optional uint32 multiplier = 191331777;
Parameter | |
---|---|
Name | Description |
value |
int The multiplier to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMultipoint(boolean value)
public BfdPacket.Builder setMultipoint(boolean value)
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool multipoint = 191421431;
Parameter | |
---|---|
Name | Description |
value |
boolean The multipoint to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setMyDiscriminator(int value)
public BfdPacket.Builder setMyDiscriminator(int value)
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
optional uint32 my_discriminator = 76663113;
Parameter | |
---|---|
Name | Description |
value |
int The myDiscriminator to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setPoll(boolean value)
public BfdPacket.Builder setPoll(boolean value)
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool poll = 3446719;
Parameter | |
---|---|
Name | Description |
value |
boolean The poll to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BfdPacket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
setState(String value)
public BfdPacket.Builder setState(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The state to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public BfdPacket.Builder setStateBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for state to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BfdPacket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
setVersion(int value)
public BfdPacket.Builder setVersion(int value)
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
optional uint32 version = 351608024;
Parameter | |
---|---|
Name | Description |
value |
int The version to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |
setYourDiscriminator(int value)
public BfdPacket.Builder setYourDiscriminator(int value)
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
optional uint32 your_discriminator = 515634064;
Parameter | |
---|---|
Name | Description |
value |
int The yourDiscriminator to set. |
Returns | |
---|---|
Type | Description |
BfdPacket.Builder |
This builder for chaining. |