Class BfdStatusPacketCounts.Builder

    • 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<BfdStatusPacketCounts.Builder>
      • clear

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • getDefaultInstanceForType

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

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

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

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • clearField

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • clearOneof

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • setRepeatedField

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • addRepeatedField

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BfdStatusPacketCounts.Builder>
      • mergeFrom

        public BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
        Throws:
        IOException
      • hasNumRx

        public boolean hasNumRx()
         Number of packets received since the beginning of the current BFD session.
         
        optional uint32 num_rx = 39375263;
        Specified by:
        hasNumRx in interface BfdStatusPacketCountsOrBuilder
        Returns:
        Whether the numRx field is set.
      • getNumRx

        public int getNumRx()
         Number of packets received since the beginning of the current BFD session.
         
        optional uint32 num_rx = 39375263;
        Specified by:
        getNumRx in interface BfdStatusPacketCountsOrBuilder
        Returns:
        The numRx.
      • setNumRx

        public BfdStatusPacketCounts.Builder setNumRx​(int value)
         Number of packets received since the beginning of the current BFD session.
         
        optional uint32 num_rx = 39375263;
        Parameters:
        value - The numRx to set.
        Returns:
        This builder for chaining.
      • clearNumRx

        public BfdStatusPacketCounts.Builder clearNumRx()
         Number of packets received since the beginning of the current BFD session.
         
        optional uint32 num_rx = 39375263;
        Returns:
        This builder for chaining.
      • hasNumRxRejected

        public boolean hasNumRxRejected()
         Number of packets received that were rejected because of errors since the beginning of the current BFD session.
         
        optional uint32 num_rx_rejected = 281007902;
        Specified by:
        hasNumRxRejected in interface BfdStatusPacketCountsOrBuilder
        Returns:
        Whether the numRxRejected field is set.
      • getNumRxRejected

        public int getNumRxRejected()
         Number of packets received that were rejected because of errors since the beginning of the current BFD session.
         
        optional uint32 num_rx_rejected = 281007902;
        Specified by:
        getNumRxRejected in interface BfdStatusPacketCountsOrBuilder
        Returns:
        The numRxRejected.
      • setNumRxRejected

        public BfdStatusPacketCounts.Builder setNumRxRejected​(int value)
         Number of packets received that were rejected because of errors since the beginning of the current BFD session.
         
        optional uint32 num_rx_rejected = 281007902;
        Parameters:
        value - The numRxRejected to set.
        Returns:
        This builder for chaining.
      • clearNumRxRejected

        public BfdStatusPacketCounts.Builder clearNumRxRejected()
         Number of packets received that were rejected because of errors since the beginning of the current BFD session.
         
        optional uint32 num_rx_rejected = 281007902;
        Returns:
        This builder for chaining.
      • hasNumRxSuccessful

        public boolean hasNumRxSuccessful()
         Number of packets received that were successfully processed since the beginning of the current BFD session.
         
        optional uint32 num_rx_successful = 455361850;
        Specified by:
        hasNumRxSuccessful in interface BfdStatusPacketCountsOrBuilder
        Returns:
        Whether the numRxSuccessful field is set.
      • getNumRxSuccessful

        public int getNumRxSuccessful()
         Number of packets received that were successfully processed since the beginning of the current BFD session.
         
        optional uint32 num_rx_successful = 455361850;
        Specified by:
        getNumRxSuccessful in interface BfdStatusPacketCountsOrBuilder
        Returns:
        The numRxSuccessful.
      • setNumRxSuccessful

        public BfdStatusPacketCounts.Builder setNumRxSuccessful​(int value)
         Number of packets received that were successfully processed since the beginning of the current BFD session.
         
        optional uint32 num_rx_successful = 455361850;
        Parameters:
        value - The numRxSuccessful to set.
        Returns:
        This builder for chaining.
      • clearNumRxSuccessful

        public BfdStatusPacketCounts.Builder clearNumRxSuccessful()
         Number of packets received that were successfully processed since the beginning of the current BFD session.
         
        optional uint32 num_rx_successful = 455361850;
        Returns:
        This builder for chaining.
      • hasNumTx

        public boolean hasNumTx()
         Number of packets transmitted since the beginning of the current BFD session.
         
        optional uint32 num_tx = 39375325;
        Specified by:
        hasNumTx in interface BfdStatusPacketCountsOrBuilder
        Returns:
        Whether the numTx field is set.
      • getNumTx

        public int getNumTx()
         Number of packets transmitted since the beginning of the current BFD session.
         
        optional uint32 num_tx = 39375325;
        Specified by:
        getNumTx in interface BfdStatusPacketCountsOrBuilder
        Returns:
        The numTx.
      • setNumTx

        public BfdStatusPacketCounts.Builder setNumTx​(int value)
         Number of packets transmitted since the beginning of the current BFD session.
         
        optional uint32 num_tx = 39375325;
        Parameters:
        value - The numTx to set.
        Returns:
        This builder for chaining.
      • clearNumTx

        public BfdStatusPacketCounts.Builder clearNumTx()
         Number of packets transmitted since the beginning of the current BFD session.
         
        optional uint32 num_tx = 39375325;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>
      • mergeUnknownFields

        public final BfdStatusPacketCounts.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<BfdStatusPacketCounts.Builder>