Class 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 type google.cloud.compute.v1.BfdPacket
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • clear

        public BfdPacket.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • getDefaultInstanceForType

        public BfdPacket getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BfdPacket build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BfdPacket buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public BfdPacket.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • setField

        public BfdPacket.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • clearField

        public BfdPacket.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • clearOneof

        public BfdPacket.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • addRepeatedField

        public BfdPacket.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • mergeFrom

        public BfdPacket.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BfdPacket.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface BfdPacketOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>
      • mergeUnknownFields

        public final BfdPacket.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BfdPacket.Builder>