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
google.cloud.compute.v1.BfdPacket
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BfdPacket.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BfdPacket
build()
BfdPacket
buildPartial()
BfdPacket.Builder
clear()
BfdPacket.Builder
clearAuthenticationPresent()
The Authentication Present bit of the BFD packet.BfdPacket.Builder
clearControlPlaneIndependent()
The Control Plane Independent bit of the BFD packet.BfdPacket.Builder
clearDemand()
The demand bit of the BFD packet.BfdPacket.Builder
clearDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BfdPacket.Builder
clearFinal()
The Final bit of the BFD packet.BfdPacket.Builder
clearLength()
The length of the BFD Control packet in bytes.BfdPacket.Builder
clearMinEchoRxIntervalMs()
The Required Min Echo RX Interval value in the BFD packet.BfdPacket.Builder
clearMinRxIntervalMs()
The Required Min RX Interval value in the BFD packet.BfdPacket.Builder
clearMinTxIntervalMs()
The Desired Min TX Interval value in the BFD packet.BfdPacket.Builder
clearMultiplier()
The detection time multiplier of the BFD packet.BfdPacket.Builder
clearMultipoint()
The multipoint bit of the BFD packet.BfdPacket.Builder
clearMyDiscriminator()
The My Discriminator value in the BFD packet.BfdPacket.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BfdPacket.Builder
clearPoll()
The Poll bit of the BFD packet.BfdPacket.Builder
clearState()
The current BFD session state as seen by the transmitting system.BfdPacket.Builder
clearVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.BfdPacket.Builder
clearYourDiscriminator()
The Your Discriminator value in the BFD packet.BfdPacket.Builder
clone()
boolean
getAuthenticationPresent()
The Authentication Present bit of the BFD packet.boolean
getControlPlaneIndependent()
The Control Plane Independent bit of the BFD packet.BfdPacket
getDefaultInstanceForType()
boolean
getDemand()
The demand bit of the BFD packet.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.com.google.protobuf.ByteString
getDiagnosticBytes()
The diagnostic code specifies the local system's reason for the last change in session state.boolean
getFinal()
The Final bit of the BFD packet.int
getLength()
The length of the BFD Control packet in bytes.int
getMinEchoRxIntervalMs()
The Required Min Echo RX Interval value in the BFD packet.int
getMinRxIntervalMs()
The Required Min RX Interval value in the BFD packet.int
getMinTxIntervalMs()
The Desired Min TX Interval value in the BFD packet.int
getMultiplier()
The detection time multiplier of the BFD packet.boolean
getMultipoint()
The multipoint bit of the BFD packet.int
getMyDiscriminator()
The My Discriminator value in the BFD packet.boolean
getPoll()
The Poll bit of the BFD packet.String
getState()
The current BFD session state as seen by the transmitting system.com.google.protobuf.ByteString
getStateBytes()
The current BFD session state as seen by the transmitting system.int
getVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.int
getYourDiscriminator()
The Your Discriminator value in the BFD packet.boolean
hasAuthenticationPresent()
The Authentication Present bit of the BFD packet.boolean
hasControlPlaneIndependent()
The Control Plane Independent bit of the BFD packet.boolean
hasDemand()
The demand bit of the BFD packet.boolean
hasDiagnostic()
The diagnostic code specifies the local system's reason for the last change in session state.boolean
hasFinal()
The Final bit of the BFD packet.boolean
hasLength()
The length of the BFD Control packet in bytes.boolean
hasMinEchoRxIntervalMs()
The Required Min Echo RX Interval value in the BFD packet.boolean
hasMinRxIntervalMs()
The Required Min RX Interval value in the BFD packet.boolean
hasMinTxIntervalMs()
The Desired Min TX Interval value in the BFD packet.boolean
hasMultiplier()
The detection time multiplier of the BFD packet.boolean
hasMultipoint()
The multipoint bit of the BFD packet.boolean
hasMyDiscriminator()
The My Discriminator value in the BFD packet.boolean
hasPoll()
The Poll bit of the BFD packet.boolean
hasState()
The current BFD session state as seen by the transmitting system.boolean
hasVersion()
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.boolean
hasYourDiscriminator()
The Your Discriminator value in the BFD packet.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BfdPacket.Builder
mergeFrom(BfdPacket other)
BfdPacket.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BfdPacket.Builder
mergeFrom(com.google.protobuf.Message other)
BfdPacket.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BfdPacket.Builder
setAuthenticationPresent(boolean value)
The Authentication Present bit of the BFD packet.BfdPacket.Builder
setControlPlaneIndependent(boolean value)
The Control Plane Independent bit of the BFD packet.BfdPacket.Builder
setDemand(boolean value)
The demand bit of the BFD packet.BfdPacket.Builder
setDiagnostic(String value)
The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.Builder
setDiagnosticBytes(com.google.protobuf.ByteString value)
The diagnostic code specifies the local system's reason for the last change in session state.BfdPacket.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BfdPacket.Builder
setFinal(boolean value)
The Final bit of the BFD packet.BfdPacket.Builder
setLength(int value)
The length of the BFD Control packet in bytes.BfdPacket.Builder
setMinEchoRxIntervalMs(int value)
The Required Min Echo RX Interval value in the BFD packet.BfdPacket.Builder
setMinRxIntervalMs(int value)
The Required Min RX Interval value in the BFD packet.BfdPacket.Builder
setMinTxIntervalMs(int value)
The Desired Min TX Interval value in the BFD packet.BfdPacket.Builder
setMultiplier(int value)
The detection time multiplier of the BFD packet.BfdPacket.Builder
setMultipoint(boolean value)
The multipoint bit of the BFD packet.BfdPacket.Builder
setMyDiscriminator(int value)
The My Discriminator value in the BFD packet.BfdPacket.Builder
setPoll(boolean value)
The Poll bit of the BFD packet.BfdPacket.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BfdPacket.Builder
setState(String value)
The current BFD session state as seen by the transmitting system.BfdPacket.Builder
setStateBytes(com.google.protobuf.ByteString value)
The current BFD session state as seen by the transmitting system.BfdPacket.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BfdPacket.Builder
setVersion(int value)
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.BfdPacket.Builder
setYourDiscriminator(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clear
public BfdPacket.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
getDefaultInstanceForType
public BfdPacket getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BfdPacket build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BfdPacket buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BfdPacket.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
setField
public BfdPacket.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clearField
public BfdPacket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
clearOneof
public BfdPacket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
setRepeatedField
public BfdPacket.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
addRepeatedField
public BfdPacket.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
mergeFrom
public BfdPacket.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BfdPacket.Builder>
-
mergeFrom
public BfdPacket.Builder mergeFrom(BfdPacket other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAuthenticationPresent
in 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:
getAuthenticationPresent
in 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:
hasControlPlaneIndependent
in 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:
getControlPlaneIndependent
in 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:
hasDemand
in 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:
getDemand
in 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:
hasDiagnostic
in 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:
getDiagnostic
in 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:
getDiagnosticBytes
in 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:
hasFinal
in 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:
getFinal
in 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:
hasLength
in 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:
getLength
in 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:
hasMinEchoRxIntervalMs
in 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:
getMinEchoRxIntervalMs
in 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:
hasMinRxIntervalMs
in 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:
getMinRxIntervalMs
in 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:
hasMinTxIntervalMs
in 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:
getMinTxIntervalMs
in 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:
hasMultiplier
in 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:
getMultiplier
in 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:
hasMultipoint
in 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:
getMultipoint
in 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:
hasMyDiscriminator
in 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:
getMyDiscriminator
in 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:
hasPoll
in 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:
getPoll
in 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:
hasState
in 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:
getState
in 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:
getStateBytes
in 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:
hasVersion
in 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:
getVersion
in 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:
hasYourDiscriminator
in 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:
getYourDiscriminator
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
mergeUnknownFields
public final BfdPacket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
-
-