Class Port.QueueStats

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, Port.QueueStatsOrBuilder
    Enclosing class:
    Port

    public static final class Port.QueueStats
    extends com.google.protobuf.GeneratedMessage
    implements Port.QueueStatsOrBuilder
    Protobuf type QueueStats
    See Also:
    Serialized Form
    • Field Detail

      • QUEUE_NUMBER_FIELD_NUMBER

        public static final int QUEUE_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TAIL_DROP_PACKETS_FIELD_NUMBER

        public static final int TAIL_DROP_PACKETS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RL_DROP_PACKETS_FIELD_NUMBER

        public static final int RL_DROP_PACKETS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RL_DROP_BYTES_FIELD_NUMBER

        public static final int RL_DROP_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RED_DROP_PACKETS_FIELD_NUMBER

        public static final int RED_DROP_PACKETS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RED_DROP_BYTES_FIELD_NUMBER

        public static final int RED_DROP_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AVG_BUFFER_OCCUPANCY_FIELD_NUMBER

        public static final int AVG_BUFFER_OCCUPANCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CUR_BUFFER_OCCUPANCY_FIELD_NUMBER

        public static final int CUR_BUFFER_OCCUPANCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PEAK_BUFFER_OCCUPANCY_FIELD_NUMBER

        public static final int PEAK_BUFFER_OCCUPANCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALLOCATED_BUFFER_SIZE_FIELD_NUMBER

        public static final int ALLOCATED_BUFFER_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • getDefaultInstanceForType

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

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessage
      • 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
      • getParserForType

        public com.google.protobuf.Parser<Port.QueueStats> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • hasPackets

        public boolean hasPackets()
        optional uint64 packets = 2;
         Counter: the total number of packets that have been added to this queue
         
        Specified by:
        hasPackets in interface Port.QueueStatsOrBuilder
      • getPackets

        public long getPackets()
        optional uint64 packets = 2;
         Counter: the total number of packets that have been added to this queue
         
        Specified by:
        getPackets in interface Port.QueueStatsOrBuilder
      • hasBytes

        public boolean hasBytes()
        optional uint64 bytes = 3;
         Counter: the total number of bytes that have been added to this queue
         
        Specified by:
        hasBytes in interface Port.QueueStatsOrBuilder
      • getBytes

        public long getBytes()
        optional uint64 bytes = 3;
         Counter: the total number of bytes that have been added to this queue
         
        Specified by:
        getBytes in interface Port.QueueStatsOrBuilder
      • hasTailDropPackets

        public boolean hasTailDropPackets()
        optional uint64 tail_drop_packets = 4;
         Counter: the total number of tail dropped packets
         
        Specified by:
        hasTailDropPackets in interface Port.QueueStatsOrBuilder
      • getTailDropPackets

        public long getTailDropPackets()
        optional uint64 tail_drop_packets = 4;
         Counter: the total number of tail dropped packets
         
        Specified by:
        getTailDropPackets in interface Port.QueueStatsOrBuilder
      • hasRlDropPackets

        public boolean hasRlDropPackets()
        optional uint64 rl_drop_packets = 5;
         Counter: the total number of rate-limitd packets
         
        Specified by:
        hasRlDropPackets in interface Port.QueueStatsOrBuilder
      • getRlDropPackets

        public long getRlDropPackets()
        optional uint64 rl_drop_packets = 5;
         Counter: the total number of rate-limitd packets
         
        Specified by:
        getRlDropPackets in interface Port.QueueStatsOrBuilder
      • hasRlDropBytes

        public boolean hasRlDropBytes()
        optional uint64 rl_drop_bytes = 6;
         Counter: the total number of rate-limited bytes
         
        Specified by:
        hasRlDropBytes in interface Port.QueueStatsOrBuilder
      • getRlDropBytes

        public long getRlDropBytes()
        optional uint64 rl_drop_bytes = 6;
         Counter: the total number of rate-limited bytes
         
        Specified by:
        getRlDropBytes in interface Port.QueueStatsOrBuilder
      • hasRedDropPackets

        public boolean hasRedDropPackets()
        optional uint64 red_drop_packets = 7;
         Counter: the total number of red-dropped packets
         
        Specified by:
        hasRedDropPackets in interface Port.QueueStatsOrBuilder
      • getRedDropPackets

        public long getRedDropPackets()
        optional uint64 red_drop_packets = 7;
         Counter: the total number of red-dropped packets
         
        Specified by:
        getRedDropPackets in interface Port.QueueStatsOrBuilder
      • hasRedDropBytes

        public boolean hasRedDropBytes()
        optional uint64 red_drop_bytes = 8;
         Counter: the total number of red-dropped bytes
         
        Specified by:
        hasRedDropBytes in interface Port.QueueStatsOrBuilder
      • getRedDropBytes

        public long getRedDropBytes()
        optional uint64 red_drop_bytes = 8;
         Counter: the total number of red-dropped bytes
         
        Specified by:
        getRedDropBytes in interface Port.QueueStatsOrBuilder
      • hasAvgBufferOccupancy

        public boolean hasAvgBufferOccupancy()
        optional uint64 avg_buffer_occupancy = 9;
         Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
         
        Specified by:
        hasAvgBufferOccupancy in interface Port.QueueStatsOrBuilder
      • getAvgBufferOccupancy

        public long getAvgBufferOccupancy()
        optional uint64 avg_buffer_occupancy = 9;
         Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
         
        Specified by:
        getAvgBufferOccupancy in interface Port.QueueStatsOrBuilder
      • hasPeakBufferOccupancy

        public boolean hasPeakBufferOccupancy()
        optional uint64 peak_buffer_occupancy = 11;
         Peak: the max measured queue depth, in packets, across all measurements since bo ot.
         
        Specified by:
        hasPeakBufferOccupancy in interface Port.QueueStatsOrBuilder
      • getPeakBufferOccupancy

        public long getPeakBufferOccupancy()
        optional uint64 peak_buffer_occupancy = 11;
         Peak: the max measured queue depth, in packets, across all measurements since bo ot.
         
        Specified by:
        getPeakBufferOccupancy in interface Port.QueueStatsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • writeReplace

        protected java.lang.Object writeReplace()
                                         throws java.io.ObjectStreamException
        Overrides:
        writeReplace in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.ObjectStreamException
      • parseFrom

        public static Port.QueueStats parseFrom​(com.google.protobuf.ByteString data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Port.QueueStats parseFrom​(com.google.protobuf.ByteString data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Port.QueueStats parseFrom​(byte[] data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Port.QueueStats parseFrom​(byte[] data,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Port.QueueStats parseFrom​(java.io.InputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Port.QueueStats parseFrom​(java.io.InputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Port.QueueStats parseDelimitedFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Port.QueueStats parseDelimitedFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Port.QueueStats parseFrom​(com.google.protobuf.CodedInputStream input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Port.QueueStats parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Port.QueueStats.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Port.QueueStats.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Port.QueueStats.Builder newBuilderForType​(com.google.protobuf.GeneratedMessage.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessage