Package com.google.cloud.compute.v1
Class BfdPacket.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
- com.google.cloud.compute.v1.BfdPacket.Builder
-
- All Implemented Interfaces:
BfdPacketOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BfdPacket
public static final class BfdPacket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder> implements BfdPacketOrBuilder
Protobuf typegoogle.cloud.compute.v1.BfdPacket
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BfdPacket.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BfdPacketbuild()BfdPacketbuildPartial()BfdPacket.Builderclear()BfdPacket.BuilderclearAuthenticationPresent()The Authentication Present bit of the BFD packet.BfdPacket.BuilderclearControlPlaneIndependent()The Control Plane Independent bit of the BFD packet.BfdPacket.BuilderclearDemand()The demand bit of the BFD packet.BfdPacket.BuilderclearDiagnostic()The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BfdPacket.BuilderclearFinal()The Final bit of the BFD packet.BfdPacket.BuilderclearLength()The length of the BFD Control packet in bytes.BfdPacket.BuilderclearMinEchoRxIntervalMs()The Required Min Echo RX Interval value in the BFD packet.BfdPacket.BuilderclearMinRxIntervalMs()The Required Min RX Interval value in the BFD packet.BfdPacket.BuilderclearMinTxIntervalMs()The Desired Min TX Interval value in the BFD packet.BfdPacket.BuilderclearMultiplier()The detection time multiplier of the BFD packet.BfdPacket.BuilderclearMultipoint()The multipoint bit of the BFD packet.BfdPacket.BuilderclearMyDiscriminator()The My Discriminator value in the BFD packet.BfdPacket.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BfdPacket.BuilderclearPoll()The Poll bit of the BFD packet.BfdPacket.BuilderclearState()The current BFD session state as seen by the transmitting system.BfdPacket.BuilderclearVersion()The version number of the BFD protocol, as specified in section 4.1 of RFC5880.BfdPacket.BuilderclearYourDiscriminator()The Your Discriminator value in the BFD packet.BfdPacket.Builderclone()booleangetAuthenticationPresent()The Authentication Present bit of the BFD packet.booleangetControlPlaneIndependent()The Control Plane Independent bit of the BFD packet.BfdPacketgetDefaultInstanceForType()booleangetDemand()The demand bit of the BFD packet.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDiagnostic()The diagnostic code specifies the local system's reason for the last change in session state.com.google.protobuf.ByteStringgetDiagnosticBytes()The diagnostic code specifies the local system's reason for the last change in session state.booleangetFinal()The Final bit of the BFD packet.intgetLength()The length of the BFD Control packet in bytes.intgetMinEchoRxIntervalMs()The Required Min Echo RX Interval value in the BFD packet.intgetMinRxIntervalMs()The Required Min RX Interval value in the BFD packet.intgetMinTxIntervalMs()The Desired Min TX Interval value in the BFD packet.intgetMultiplier()The detection time multiplier of the BFD packet.booleangetMultipoint()The multipoint bit of the BFD packet.intgetMyDiscriminator()The My Discriminator value in the BFD packet.booleangetPoll()The Poll bit of the BFD packet.StringgetState()The current BFD session state as seen by the transmitting system.com.google.protobuf.ByteStringgetStateBytes()The current BFD session state as seen by the transmitting system.intgetVersion()The version number of the BFD protocol, as specified in section 4.1 of RFC5880.intgetYourDiscriminator()The Your Discriminator value in the BFD packet.booleanhasAuthenticationPresent()The Authentication Present bit of the BFD packet.booleanhasControlPlaneIndependent()The Control Plane Independent bit of the BFD packet.booleanhasDemand()The demand bit of the BFD packet.booleanhasDiagnostic()The diagnostic code specifies the local system's reason for the last change in session state.booleanhasFinal()The Final bit of the BFD packet.booleanhasLength()The length of the BFD Control packet in bytes.booleanhasMinEchoRxIntervalMs()The Required Min Echo RX Interval value in the BFD packet.booleanhasMinRxIntervalMs()The Required Min RX Interval value in the BFD packet.booleanhasMinTxIntervalMs()The Desired Min TX Interval value in the BFD packet.booleanhasMultiplier()The detection time multiplier of the BFD packet.booleanhasMultipoint()The multipoint bit of the BFD packet.booleanhasMyDiscriminator()The My Discriminator value in the BFD packet.booleanhasPoll()The Poll bit of the BFD packet.booleanhasState()The current BFD session state as seen by the transmitting system.booleanhasVersion()The version number of the BFD protocol, as specified in section 4.1 of RFC5880.booleanhasYourDiscriminator()The Your Discriminator value in the BFD packet.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BfdPacket.BuildermergeFrom(BfdPacket other)BfdPacket.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BfdPacket.BuildermergeFrom(com.google.protobuf.Message other)BfdPacket.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BfdPacket.BuildersetAuthenticationPresent(boolean value)The Authentication Present bit of the BFD packet.BfdPacket.BuildersetControlPlaneIndependent(boolean value)The Control Plane Independent bit of the BFD packet.BfdPacket.BuildersetDemand(boolean value)The demand bit of the BFD packet.BfdPacket.BuildersetDiagnostic(String value)The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.BuildersetDiagnosticBytes(com.google.protobuf.ByteString value)The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BfdPacket.BuildersetFinal(boolean value)The Final bit of the BFD packet.BfdPacket.BuildersetLength(int value)The length of the BFD Control packet in bytes.BfdPacket.BuildersetMinEchoRxIntervalMs(int value)The Required Min Echo RX Interval value in the BFD packet.BfdPacket.BuildersetMinRxIntervalMs(int value)The Required Min RX Interval value in the BFD packet.BfdPacket.BuildersetMinTxIntervalMs(int value)The Desired Min TX Interval value in the BFD packet.BfdPacket.BuildersetMultiplier(int value)The detection time multiplier of the BFD packet.BfdPacket.BuildersetMultipoint(boolean value)The multipoint bit of the BFD packet.BfdPacket.BuildersetMyDiscriminator(int value)The My Discriminator value in the BFD packet.BfdPacket.BuildersetPoll(boolean value)The Poll bit of the BFD packet.BfdPacket.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BfdPacket.BuildersetState(String value)The current BFD session state as seen by the transmitting system.BfdPacket.BuildersetStateBytes(com.google.protobuf.ByteString value)The current BFD session state as seen by the transmitting system.BfdPacket.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BfdPacket.BuildersetVersion(int value)The version number of the BFD protocol, as specified in section 4.1 of RFC5880.BfdPacket.BuildersetYourDiscriminator(int value)The Your Discriminator value in the BFD packet.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clear
public BfdPacket.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
getDefaultInstanceForType
public BfdPacket getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BfdPacket build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BfdPacket buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BfdPacket.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
setField
public BfdPacket.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clearField
public BfdPacket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clearOneof
public BfdPacket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
setRepeatedField
public BfdPacket.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
addRepeatedField
public BfdPacket.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
mergeFrom
public BfdPacket.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BfdPacket.Builder>
-
mergeFrom
public BfdPacket.Builder mergeFrom(BfdPacket other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
mergeFrom
public BfdPacket.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BfdPacket.Builder>- Throws:
IOException
-
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;- Specified by:
hasAuthenticationPresentin interfaceBfdPacketOrBuilder- Returns:
- Whether the authenticationPresent field is set.
-
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;- Specified by:
getAuthenticationPresentin interfaceBfdPacketOrBuilder- Returns:
- The authenticationPresent.
-
setAuthenticationPresent
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;- Parameters:
value- The authenticationPresent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasControlPlaneIndependentin interfaceBfdPacketOrBuilder- Returns:
- Whether the controlPlaneIndependent field is set.
-
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;- Specified by:
getControlPlaneIndependentin interfaceBfdPacketOrBuilder- Returns:
- The controlPlaneIndependent.
-
setControlPlaneIndependent
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;- Parameters:
value- The controlPlaneIndependent to set.- Returns:
- 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:
- This builder for chaining.
-
hasDemand
public boolean hasDemand()
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool demand = 275180107;- Specified by:
hasDemandin interfaceBfdPacketOrBuilder- Returns:
- Whether the demand field is set.
-
getDemand
public boolean getDemand()
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool demand = 275180107;- Specified by:
getDemandin interfaceBfdPacketOrBuilder- Returns:
- The demand.
-
setDemand
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;- Parameters:
value- The demand to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasDiagnosticin interfaceBfdPacketOrBuilder- Returns:
- Whether the diagnostic field is set.
-
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;- Specified by:
getDiagnosticin interfaceBfdPacketOrBuilder- Returns:
- The diagnostic.
-
getDiagnosticBytes
public com.google.protobuf.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;- Specified by:
getDiagnosticBytesin interfaceBfdPacketOrBuilder- Returns:
- The bytes for diagnostic.
-
setDiagnostic
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;- Parameters:
value- The diagnostic to set.- Returns:
- 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:
- This builder for chaining.
-
setDiagnosticBytes
public BfdPacket.Builder setDiagnosticBytes(com.google.protobuf.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;- Parameters:
value- The bytes for diagnostic to set.- Returns:
- This builder for chaining.
-
hasFinal
public boolean hasFinal()
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool final = 97436022;- Specified by:
hasFinalin interfaceBfdPacketOrBuilder- Returns:
- Whether the final field is set.
-
getFinal
public boolean getFinal()
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool final = 97436022;- Specified by:
getFinalin interfaceBfdPacketOrBuilder- Returns:
- The final.
-
setFinal
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;- Parameters:
value- The final to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasLengthin interfaceBfdPacketOrBuilder- Returns:
- Whether the length field is set.
-
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;- Specified by:
getLengthin interfaceBfdPacketOrBuilder- Returns:
- The length.
-
setLength
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;- Parameters:
value- The length to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasMinEchoRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- Whether the minEchoRxIntervalMs field is set.
-
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;- Specified by:
getMinEchoRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minEchoRxIntervalMs.
-
setMinEchoRxIntervalMs
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;- Parameters:
value- The minEchoRxIntervalMs to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasMinRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- Whether the minRxIntervalMs field is set.
-
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;- Specified by:
getMinRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minRxIntervalMs.
-
setMinRxIntervalMs
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;- Parameters:
value- The minRxIntervalMs to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasMinTxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- Whether the minTxIntervalMs field is set.
-
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;- Specified by:
getMinTxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minTxIntervalMs.
-
setMinTxIntervalMs
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;- Parameters:
value- The minTxIntervalMs to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasMultiplierin interfaceBfdPacketOrBuilder- Returns:
- Whether the multiplier field is set.
-
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;- Specified by:
getMultiplierin interfaceBfdPacketOrBuilder- Returns:
- The multiplier.
-
setMultiplier
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;- Parameters:
value- The multiplier to set.- Returns:
- 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:
- This builder for chaining.
-
hasMultipoint
public boolean hasMultipoint()
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool multipoint = 191421431;- Specified by:
hasMultipointin interfaceBfdPacketOrBuilder- Returns:
- Whether the multipoint field is set.
-
getMultipoint
public boolean getMultipoint()
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool multipoint = 191421431;- Specified by:
getMultipointin interfaceBfdPacketOrBuilder- Returns:
- The multipoint.
-
setMultipoint
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;- Parameters:
value- The multipoint to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasMyDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- Whether the myDiscriminator field is set.
-
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;- Specified by:
getMyDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- The myDiscriminator.
-
setMyDiscriminator
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;- Parameters:
value- The myDiscriminator to set.- Returns:
- 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:
- This builder for chaining.
-
hasPoll
public boolean hasPoll()
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool poll = 3446719;- Specified by:
hasPollin interfaceBfdPacketOrBuilder- Returns:
- Whether the poll field is set.
-
getPoll
public boolean getPoll()
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
optional bool poll = 3446719;- Specified by:
getPollin interfaceBfdPacketOrBuilder- Returns:
- The poll.
-
setPoll
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;- Parameters:
value- The poll to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasStatein interfaceBfdPacketOrBuilder- Returns:
- Whether the state field is set.
-
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;- Specified by:
getStatein interfaceBfdPacketOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.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;- Specified by:
getStateBytesin interfaceBfdPacketOrBuilder- Returns:
- The bytes for state.
-
setState
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;- Parameters:
value- The state to set.- Returns:
- 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:
- This builder for chaining.
-
setStateBytes
public BfdPacket.Builder setStateBytes(com.google.protobuf.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;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
optional uint32 version = 351608024;- Specified by:
hasVersionin interfaceBfdPacketOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public int getVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
optional uint32 version = 351608024;- Specified by:
getVersionin interfaceBfdPacketOrBuilder- Returns:
- The version.
-
setVersion
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;- Parameters:
value- The version to set.- Returns:
- 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:
- This builder for chaining.
-
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;- Specified by:
hasYourDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- Whether the yourDiscriminator field is set.
-
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;- Specified by:
getYourDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- The yourDiscriminator.
-
setYourDiscriminator
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;- Parameters:
value- The yourDiscriminator to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final BfdPacket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
mergeUnknownFields
public final BfdPacket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
-