Class Port.IngressInterfaceErrors.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<Port.IngressInterfaceErrors.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<Port.IngressInterfaceErrors.Builder>
      • getDefaultInstanceForType

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

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

        public Port.IngressInterfaceErrors buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Port.IngressInterfaceErrors.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<Port.IngressInterfaceErrors.Builder>
        Throws:
        IOException
      • hasIfInErrors

        public boolean hasIfInErrors()
         Counter: the number of packets that contained errors
         
        optional uint64 if_in_errors = 1 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInErrors field is set.
      • getIfInErrors

        public long getIfInErrors()
         Counter: the number of packets that contained errors
         
        optional uint64 if_in_errors = 1 [(.telemetry_options) = { ... }
        Specified by:
        getIfInErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInErrors.
      • setIfInErrors

        public Port.IngressInterfaceErrors.Builder setIfInErrors​(long value)
         Counter: the number of packets that contained errors
         
        optional uint64 if_in_errors = 1 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInErrors to set.
        Returns:
        This builder for chaining.
      • clearIfInErrors

        public Port.IngressInterfaceErrors.Builder clearIfInErrors()
         Counter: the number of packets that contained errors
         
        optional uint64 if_in_errors = 1 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInQdrops

        public boolean hasIfInQdrops()
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
        optional uint64 if_in_qdrops = 2 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInQdrops in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInQdrops field is set.
      • getIfInQdrops

        public long getIfInQdrops()
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
        optional uint64 if_in_qdrops = 2 [(.telemetry_options) = { ... }
        Specified by:
        getIfInQdrops in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInQdrops.
      • setIfInQdrops

        public Port.IngressInterfaceErrors.Builder setIfInQdrops​(long value)
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
        optional uint64 if_in_qdrops = 2 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInQdrops to set.
        Returns:
        This builder for chaining.
      • clearIfInQdrops

        public Port.IngressInterfaceErrors.Builder clearIfInQdrops()
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
        optional uint64 if_in_qdrops = 2 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInFrameErrors

        public boolean hasIfInFrameErrors()
         Counter: the number of packets which were misaligned
         
        optional uint64 if_in_frame_errors = 3 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInFrameErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInFrameErrors field is set.
      • getIfInFrameErrors

        public long getIfInFrameErrors()
         Counter: the number of packets which were misaligned
         
        optional uint64 if_in_frame_errors = 3 [(.telemetry_options) = { ... }
        Specified by:
        getIfInFrameErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInFrameErrors.
      • setIfInFrameErrors

        public Port.IngressInterfaceErrors.Builder setIfInFrameErrors​(long value)
         Counter: the number of packets which were misaligned
         
        optional uint64 if_in_frame_errors = 3 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInFrameErrors to set.
        Returns:
        This builder for chaining.
      • clearIfInFrameErrors

        public Port.IngressInterfaceErrors.Builder clearIfInFrameErrors()
         Counter: the number of packets which were misaligned
         
        optional uint64 if_in_frame_errors = 3 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInDiscards

        public boolean hasIfInDiscards()
         Counter: the number of non-errorpackets which were chosen to be discarded
         
        optional uint64 if_in_discards = 4 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInDiscards in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInDiscards field is set.
      • getIfInDiscards

        public long getIfInDiscards()
         Counter: the number of non-errorpackets which were chosen to be discarded
         
        optional uint64 if_in_discards = 4 [(.telemetry_options) = { ... }
        Specified by:
        getIfInDiscards in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInDiscards.
      • setIfInDiscards

        public Port.IngressInterfaceErrors.Builder setIfInDiscards​(long value)
         Counter: the number of non-errorpackets which were chosen to be discarded
         
        optional uint64 if_in_discards = 4 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInDiscards to set.
        Returns:
        This builder for chaining.
      • clearIfInDiscards

        public Port.IngressInterfaceErrors.Builder clearIfInDiscards()
         Counter: the number of non-errorpackets which were chosen to be discarded
         
        optional uint64 if_in_discards = 4 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInRunts

        public boolean hasIfInRunts()
         Counter: the number of runt packets
         
        optional uint64 if_in_runts = 5 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInRunts in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInRunts field is set.
      • getIfInRunts

        public long getIfInRunts()
         Counter: the number of runt packets
         
        optional uint64 if_in_runts = 5 [(.telemetry_options) = { ... }
        Specified by:
        getIfInRunts in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInRunts.
      • setIfInRunts

        public Port.IngressInterfaceErrors.Builder setIfInRunts​(long value)
         Counter: the number of runt packets
         
        optional uint64 if_in_runts = 5 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInRunts to set.
        Returns:
        This builder for chaining.
      • clearIfInRunts

        public Port.IngressInterfaceErrors.Builder clearIfInRunts()
         Counter: the number of runt packets
         
        optional uint64 if_in_runts = 5 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInL3Incompletes

        public boolean hasIfInL3Incompletes()
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
        optional uint64 if_in_l3_incompletes = 6 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInL3Incompletes in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInL3Incompletes field is set.
      • getIfInL3Incompletes

        public long getIfInL3Incompletes()
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
        optional uint64 if_in_l3_incompletes = 6 [(.telemetry_options) = { ... }
        Specified by:
        getIfInL3Incompletes in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInL3Incompletes.
      • setIfInL3Incompletes

        public Port.IngressInterfaceErrors.Builder setIfInL3Incompletes​(long value)
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
        optional uint64 if_in_l3_incompletes = 6 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInL3Incompletes to set.
        Returns:
        This builder for chaining.
      • clearIfInL3Incompletes

        public Port.IngressInterfaceErrors.Builder clearIfInL3Incompletes()
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
        optional uint64 if_in_l3_incompletes = 6 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInL2ChanErrors

        public boolean hasIfInL2ChanErrors()
         Counter: the number of packets for which the software could not find a valid logical interface
         
        optional uint64 if_in_l2chan_errors = 7 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInL2ChanErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInL2chanErrors field is set.
      • getIfInL2ChanErrors

        public long getIfInL2ChanErrors()
         Counter: the number of packets for which the software could not find a valid logical interface
         
        optional uint64 if_in_l2chan_errors = 7 [(.telemetry_options) = { ... }
        Specified by:
        getIfInL2ChanErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInL2chanErrors.
      • setIfInL2ChanErrors

        public Port.IngressInterfaceErrors.Builder setIfInL2ChanErrors​(long value)
         Counter: the number of packets for which the software could not find a valid logical interface
         
        optional uint64 if_in_l2chan_errors = 7 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInL2chanErrors to set.
        Returns:
        This builder for chaining.
      • clearIfInL2ChanErrors

        public Port.IngressInterfaceErrors.Builder clearIfInL2ChanErrors()
         Counter: the number of packets for which the software could not find a valid logical interface
         
        optional uint64 if_in_l2chan_errors = 7 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInL2MismatchTimeouts

        public boolean hasIfInL2MismatchTimeouts()
         Counter: the number of malform or short packets
         
        optional uint64 if_in_l2_mismatch_timeouts = 8 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInL2MismatchTimeouts in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInL2MismatchTimeouts field is set.
      • getIfInL2MismatchTimeouts

        public long getIfInL2MismatchTimeouts()
         Counter: the number of malform or short packets
         
        optional uint64 if_in_l2_mismatch_timeouts = 8 [(.telemetry_options) = { ... }
        Specified by:
        getIfInL2MismatchTimeouts in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInL2MismatchTimeouts.
      • setIfInL2MismatchTimeouts

        public Port.IngressInterfaceErrors.Builder setIfInL2MismatchTimeouts​(long value)
         Counter: the number of malform or short packets
         
        optional uint64 if_in_l2_mismatch_timeouts = 8 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInL2MismatchTimeouts to set.
        Returns:
        This builder for chaining.
      • clearIfInL2MismatchTimeouts

        public Port.IngressInterfaceErrors.Builder clearIfInL2MismatchTimeouts()
         Counter: the number of malform or short packets
         
        optional uint64 if_in_l2_mismatch_timeouts = 8 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInFifoErrors

        public boolean hasIfInFifoErrors()
         Counter: the number of FIFO errors
         
        optional uint64 if_in_fifo_errors = 9 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInFifoErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInFifoErrors field is set.
      • getIfInFifoErrors

        public long getIfInFifoErrors()
         Counter: the number of FIFO errors
         
        optional uint64 if_in_fifo_errors = 9 [(.telemetry_options) = { ... }
        Specified by:
        getIfInFifoErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInFifoErrors.
      • setIfInFifoErrors

        public Port.IngressInterfaceErrors.Builder setIfInFifoErrors​(long value)
         Counter: the number of FIFO errors
         
        optional uint64 if_in_fifo_errors = 9 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInFifoErrors to set.
        Returns:
        This builder for chaining.
      • clearIfInFifoErrors

        public Port.IngressInterfaceErrors.Builder clearIfInFifoErrors()
         Counter: the number of FIFO errors
         
        optional uint64 if_in_fifo_errors = 9 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfInResourceErrors

        public boolean hasIfInResourceErrors()
         Counter: the number of resourceerrors
         
        optional uint64 if_in_resource_errors = 10 [(.telemetry_options) = { ... }
        Specified by:
        hasIfInResourceErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        Whether the ifInResourceErrors field is set.
      • getIfInResourceErrors

        public long getIfInResourceErrors()
         Counter: the number of resourceerrors
         
        optional uint64 if_in_resource_errors = 10 [(.telemetry_options) = { ... }
        Specified by:
        getIfInResourceErrors in interface Port.IngressInterfaceErrorsOrBuilder
        Returns:
        The ifInResourceErrors.
      • setIfInResourceErrors

        public Port.IngressInterfaceErrors.Builder setIfInResourceErrors​(long value)
         Counter: the number of resourceerrors
         
        optional uint64 if_in_resource_errors = 10 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifInResourceErrors to set.
        Returns:
        This builder for chaining.
      • clearIfInResourceErrors

        public Port.IngressInterfaceErrors.Builder clearIfInResourceErrors()
         Counter: the number of resourceerrors
         
        optional uint64 if_in_resource_errors = 10 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • mergeUnknownFields

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