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.GeneratedMessage.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.GeneratedMessage.Builder<BfdPacket.Builder>
implements BfdPacketOrBuilder
Protobuf type
google.cloud.compute.v1.BfdPacket-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Authentication Present bit of the BFD packet.The Control Plane Independent bit of the BFD packet.The demand bit of the BFD packet.The diagnostic code specifies the local system's reason for the last change in session state.The Final bit of the BFD packet.The length of the BFD Control packet in bytes.The Required Min Echo RX Interval value in the BFD packet.The Required Min RX Interval value in the BFD packet.The Desired Min TX Interval value in the BFD packet.The detection time multiplier of the BFD packet.The multipoint bit of the BFD packet.The My Discriminator value in the BFD packet.The Poll bit of the BFD packet.The current BFD session state as seen by the transmitting system.The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.The Your Discriminator value in the BFD packet.booleanThe Authentication Present bit of the BFD packet.booleanThe Control Plane Independent bit of the BFD packet.booleanThe demand bit of the BFD packet.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe diagnostic code specifies the local system's reason for the last change in session state.com.google.protobuf.ByteStringThe diagnostic code specifies the local system's reason for the last change in session state.booleangetFinal()The Final bit of the BFD packet.intThe length of the BFD Control packet in bytes.intThe Required Min Echo RX Interval value in the BFD packet.intThe Required Min RX Interval value in the BFD packet.intThe Desired Min TX Interval value in the BFD packet.intThe detection time multiplier of the BFD packet.booleanThe multipoint bit of the BFD packet.intThe My Discriminator value in the BFD packet.booleangetPoll()The Poll bit of the BFD packet.getState()The current BFD session state as seen by the transmitting system.com.google.protobuf.ByteStringThe current BFD session state as seen by the transmitting system.intThe version number of the BFD protocol, as specified in section 4.1 ofRFC5880.intThe Your Discriminator value in the BFD packet.booleanThe Authentication Present bit of the BFD packet.booleanThe Control Plane Independent bit of the BFD packet.booleanThe demand bit of the BFD packet.booleanThe diagnostic code specifies the local system's reason for the last change in session state.booleanhasFinal()The Final bit of the BFD packet.booleanThe length of the BFD Control packet in bytes.booleanThe Required Min Echo RX Interval value in the BFD packet.booleanThe Required Min RX Interval value in the BFD packet.booleanThe Desired Min TX Interval value in the BFD packet.booleanThe detection time multiplier of the BFD packet.booleanThe multipoint bit of the BFD packet.booleanThe 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.booleanThe version number of the BFD protocol, as specified in section 4.1 ofRFC5880.booleanThe Your Discriminator value in the BFD packet.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAuthenticationPresent(boolean value) The Authentication Present bit of the BFD packet.setControlPlaneIndependent(boolean value) The Control Plane Independent bit of the BFD packet.setDemand(boolean value) The demand bit of the BFD packet.setDiagnostic(String value) The diagnostic code specifies the local system's reason for the last change in session state.setDiagnosticBytes(com.google.protobuf.ByteString value) The diagnostic code specifies the local system's reason for the last change in session state.setFinal(boolean value) The Final bit of the BFD packet.setLength(int value) The length of the BFD Control packet in bytes.setMinEchoRxIntervalMs(int value) The Required Min Echo RX Interval value in the BFD packet.setMinRxIntervalMs(int value) The Required Min RX Interval value in the BFD packet.setMinTxIntervalMs(int value) The Desired Min TX Interval value in the BFD packet.setMultiplier(int value) The detection time multiplier of the BFD packet.setMultipoint(boolean value) The multipoint bit of the BFD packet.setMyDiscriminator(int value) The My Discriminator value in the BFD packet.setPoll(boolean value) The Poll bit of the BFD packet.The current BFD session state as seen by the transmitting system.setStateBytes(com.google.protobuf.ByteString value) The current BFD session state as seen by the transmitting system.setVersion(int value) The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.setYourDiscriminator(int value) The Your Discriminator value in the BFD packet.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BfdPacket.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<BfdPacket.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BfdPacket.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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 ofRFC5880
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 ofRFC5880
optional bool authentication_present = 105974260;- Specified by:
getAuthenticationPresentin interfaceBfdPacketOrBuilder- Returns:
- The authenticationPresent.
-
setAuthenticationPresent
The Authentication Present bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool authentication_present = 105974260;- Parameters:
value- The authenticationPresent to set.- Returns:
- This builder for chaining.
-
clearAuthenticationPresent
The Authentication Present bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional bool control_plane_independent = 62363573;- Specified by:
getControlPlaneIndependentin interfaceBfdPacketOrBuilder- Returns:
- The controlPlaneIndependent.
-
setControlPlaneIndependent
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool control_plane_independent = 62363573;- Parameters:
value- The controlPlaneIndependent to set.- Returns:
- This builder for chaining.
-
clearControlPlaneIndependent
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional bool demand = 275180107;- Specified by:
getDemandin interfaceBfdPacketOrBuilder- Returns:
- The demand.
-
setDemand
The demand bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool demand = 275180107;- Parameters:
value- The demand to set.- Returns:
- This builder for chaining.
-
clearDemand
The demand bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880 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
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 ofRFC5880 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 ofRFC5880 Check the Diagnostic enum for the list of possible values.
optional string diagnostic = 62708647;- Specified by:
getDiagnosticBytesin interfaceBfdPacketOrBuilder- Returns:
- The bytes for diagnostic.
-
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 ofRFC5880 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
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 ofRFC5880 Check the Diagnostic enum for the list of possible values.
optional string diagnostic = 62708647;- Returns:
- This builder for chaining.
-
setDiagnosticBytes
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 ofRFC5880 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 ofRFC5880
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 ofRFC5880
optional bool final = 97436022;- Specified by:
getFinalin interfaceBfdPacketOrBuilder- Returns:
- The final.
-
setFinal
The Final bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool final = 97436022;- Parameters:
value- The final to set.- Returns:
- This builder for chaining.
-
clearFinal
The Final bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 length = 504249062;- Specified by:
getLengthin interfaceBfdPacketOrBuilder- Returns:
- The length.
-
setLength
The length of the BFD Control packet in bytes. This is specified in section 4.1 ofRFC5880
optional uint32 length = 504249062;- Parameters:
value- The length to set.- Returns:
- This builder for chaining.
-
clearLength
The length of the BFD Control packet in bytes. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 min_echo_rx_interval_ms = 97286868;- Specified by:
getMinEchoRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minEchoRxIntervalMs.
-
setMinEchoRxIntervalMs
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 min_echo_rx_interval_ms = 97286868;- Parameters:
value- The minEchoRxIntervalMs to set.- Returns:
- This builder for chaining.
-
clearMinEchoRxIntervalMs
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 min_rx_interval_ms = 463399028;- Specified by:
getMinRxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minRxIntervalMs.
-
setMinRxIntervalMs
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 min_rx_interval_ms = 463399028;- Parameters:
value- The minRxIntervalMs to set.- Returns:
- This builder for chaining.
-
clearMinRxIntervalMs
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 min_tx_interval_ms = 526023602;- Specified by:
getMinTxIntervalMsin interfaceBfdPacketOrBuilder- Returns:
- The minTxIntervalMs.
-
setMinTxIntervalMs
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 min_tx_interval_ms = 526023602;- Parameters:
value- The minTxIntervalMs to set.- Returns:
- This builder for chaining.
-
clearMinTxIntervalMs
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 multiplier = 191331777;- Specified by:
getMultiplierin interfaceBfdPacketOrBuilder- Returns:
- The multiplier.
-
setMultiplier
The detection time multiplier of the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 multiplier = 191331777;- Parameters:
value- The multiplier to set.- Returns:
- This builder for chaining.
-
clearMultiplier
The detection time multiplier of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional bool multipoint = 191421431;- Specified by:
getMultipointin interfaceBfdPacketOrBuilder- Returns:
- The multipoint.
-
setMultipoint
The multipoint bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool multipoint = 191421431;- Parameters:
value- The multipoint to set.- Returns:
- This builder for chaining.
-
clearMultipoint
The multipoint bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional uint32 my_discriminator = 76663113;- Specified by:
getMyDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- The myDiscriminator.
-
setMyDiscriminator
The My Discriminator value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 my_discriminator = 76663113;- Parameters:
value- The myDiscriminator to set.- Returns:
- This builder for chaining.
-
clearMyDiscriminator
The My Discriminator value in the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880
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 ofRFC5880
optional bool poll = 3446719;- Specified by:
getPollin interfaceBfdPacketOrBuilder- Returns:
- The poll.
-
setPoll
The Poll bit of the BFD packet. This is specified in section 4.1 ofRFC5880
optional bool poll = 3446719;- Parameters:
value- The poll to set.- Returns:
- This builder for chaining.
-
clearPoll
The Poll bit of the BFD packet. This is specified in section 4.1 ofRFC5880
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 ofRFC5880 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
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 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 ofRFC5880 Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceBfdPacketOrBuilder- Returns:
- The bytes for state.
-
setState
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 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
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 ofRFC5880 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 ofRFC5880.
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 ofRFC5880.
optional uint32 version = 351608024;- Specified by:
getVersionin interfaceBfdPacketOrBuilder- Returns:
- The version.
-
setVersion
The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.
optional uint32 version = 351608024;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The version number of the BFD protocol, as specified in section 4.1 ofRFC5880.
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 ofRFC5880
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 ofRFC5880
optional uint32 your_discriminator = 515634064;- Specified by:
getYourDiscriminatorin interfaceBfdPacketOrBuilder- Returns:
- The yourDiscriminator.
-
setYourDiscriminator
The Your Discriminator value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 your_discriminator = 515634064;- Parameters:
value- The yourDiscriminator to set.- Returns:
- This builder for chaining.
-
clearYourDiscriminator
The Your Discriminator value in the BFD packet. This is specified in section 4.1 ofRFC5880
optional uint32 your_discriminator = 515634064;- Returns:
- This builder for chaining.
-