Class Port.IngressInterfaceErrors.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.Builder<Port.IngressInterfaceErrors.Builder>
      • mergeFrom

        public Port.IngressInterfaceErrors.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.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:
        java.io.IOException
      • setIfInErrors

        public Port.IngressInterfaceErrors.Builder setIfInErrors​(long value)
        optional uint64 if_in_errors = 1;
         Counter: the number of packets that contained errors
         
      • setIfInQdrops

        public Port.IngressInterfaceErrors.Builder setIfInQdrops​(long value)
        optional uint64 if_in_qdrops = 2;
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
      • clearIfInQdrops

        public Port.IngressInterfaceErrors.Builder clearIfInQdrops()
        optional uint64 if_in_qdrops = 2;
         Counter: the number of packets dropped by the input queue of the I/O Manager ASIC
         
      • setIfInFrameErrors

        public Port.IngressInterfaceErrors.Builder setIfInFrameErrors​(long value)
        optional uint64 if_in_frame_errors = 3;
         Counter: the number of packets which were misaligned
         
      • clearIfInFrameErrors

        public Port.IngressInterfaceErrors.Builder clearIfInFrameErrors()
        optional uint64 if_in_frame_errors = 3;
         Counter: the number of packets which were misaligned
         
      • setIfInDiscards

        public Port.IngressInterfaceErrors.Builder setIfInDiscards​(long value)
        optional uint64 if_in_discards = 4;
         Counter: the number of non-errorpackets which were chosen to be discarded
         
      • clearIfInDiscards

        public Port.IngressInterfaceErrors.Builder clearIfInDiscards()
        optional uint64 if_in_discards = 4;
         Counter: the number of non-errorpackets which were chosen to be discarded
         
      • setIfInL3Incompletes

        public Port.IngressInterfaceErrors.Builder setIfInL3Incompletes​(long value)
        optional uint64 if_in_l3_incompletes = 6;
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
      • clearIfInL3Incompletes

        public Port.IngressInterfaceErrors.Builder clearIfInL3Incompletes()
        optional uint64 if_in_l3_incompletes = 6;
         Counter: the number of packets that fail Layer 3 sanity checks of the header
         
      • hasIfInL2ChanErrors

        public boolean hasIfInL2ChanErrors()
        optional uint64 if_in_l2chan_errors = 7;
         Counter: the number of packets for which the software could not find a valid logical interface
         
        Specified by:
        hasIfInL2ChanErrors in interface Port.IngressInterfaceErrorsOrBuilder
      • getIfInL2ChanErrors

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

        public Port.IngressInterfaceErrors.Builder setIfInL2ChanErrors​(long value)
        optional uint64 if_in_l2chan_errors = 7;
         Counter: the number of packets for which the software could not find a valid logical interface
         
      • clearIfInL2ChanErrors

        public Port.IngressInterfaceErrors.Builder clearIfInL2ChanErrors()
        optional uint64 if_in_l2chan_errors = 7;
         Counter: the number of packets for which the software could not find a valid logical interface
         
      • setIfInL2MismatchTimeouts

        public Port.IngressInterfaceErrors.Builder setIfInL2MismatchTimeouts​(long value)
        optional uint64 if_in_l2_mismatch_timeouts = 8;
         Counter: the number of malform or short packets
         
      • clearIfInL2MismatchTimeouts

        public Port.IngressInterfaceErrors.Builder clearIfInL2MismatchTimeouts()
        optional uint64 if_in_l2_mismatch_timeouts = 8;
         Counter: the number of malform or short packets
         
      • setIfInResourceErrors

        public Port.IngressInterfaceErrors.Builder setIfInResourceErrors​(long value)
        optional uint64 if_in_resource_errors = 10;
         Counter: the number of resourceerrors
         
      • clearIfInResourceErrors

        public Port.IngressInterfaceErrors.Builder clearIfInResourceErrors()
        optional uint64 if_in_resource_errors = 10;
         Counter: the number of resourceerrors