Interface Port.QueueStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Port.QueueStats
,Port.QueueStats.Builder
- Enclosing class:
- Port
public static interface Port.QueueStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAllocatedBufferSize()
allocated buffer sizelong
getAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBDlong
getBytes()
Counter: the total number of bytes that have been added to this queuelong
getCurBufferOccupancy()
Gauge: current queue depth, in packetslong
getPackets()
Counter: the total number of packets that have been added to this queuelong
getPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.int
getQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ...
long
getRedDropBytes()
Counter: the total number of red-dropped byteslong
getRedDropPackets()
Counter: the total number of red-dropped packetslong
getRlDropBytes()
Counter: the total number of rate-limited byteslong
getRlDropPackets()
Counter: the total number of rate-limitd packetslong
getTailDropPackets()
Counter: the total number of tail dropped packetsboolean
hasAllocatedBufferSize()
allocated buffer sizeboolean
hasAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBDboolean
hasBytes()
Counter: the total number of bytes that have been added to this queueboolean
hasCurBufferOccupancy()
Gauge: current queue depth, in packetsboolean
hasPackets()
Counter: the total number of packets that have been added to this queueboolean
hasPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.boolean
hasQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ...
boolean
hasRedDropBytes()
Counter: the total number of red-dropped bytesboolean
hasRedDropPackets()
Counter: the total number of red-dropped packetsboolean
hasRlDropBytes()
Counter: the total number of rate-limited bytesboolean
hasRlDropPackets()
Counter: the total number of rate-limitd packetsboolean
hasTailDropPackets()
Counter: the total number of tail dropped packets-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQueueNumber
boolean hasQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }
- Returns:
- Whether the queueNumber field is set.
-
getQueueNumber
int getQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }
- Returns:
- The queueNumber.
-
hasPackets
boolean hasPackets()
Counter: the total number of packets that have been added to this queue
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Returns:
- Whether the packets field is set.
-
getPackets
long getPackets()
Counter: the total number of packets that have been added to this queue
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Returns:
- The packets.
-
hasBytes
boolean hasBytes()
Counter: the total number of bytes that have been added to this queue
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Returns:
- Whether the bytes field is set.
-
getBytes
long getBytes()
Counter: the total number of bytes that have been added to this queue
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Returns:
- The bytes.
-
hasTailDropPackets
boolean hasTailDropPackets()
Counter: the total number of tail dropped packets
optional uint64 tail_drop_packets = 4 [(.telemetry_options) = { ... }
- Returns:
- Whether the tailDropPackets field is set.
-
getTailDropPackets
long getTailDropPackets()
Counter: the total number of tail dropped packets
optional uint64 tail_drop_packets = 4 [(.telemetry_options) = { ... }
- Returns:
- The tailDropPackets.
-
hasRlDropPackets
boolean hasRlDropPackets()
Counter: the total number of rate-limitd packets
optional uint64 rl_drop_packets = 5 [(.telemetry_options) = { ... }
- Returns:
- Whether the rlDropPackets field is set.
-
getRlDropPackets
long getRlDropPackets()
Counter: the total number of rate-limitd packets
optional uint64 rl_drop_packets = 5 [(.telemetry_options) = { ... }
- Returns:
- The rlDropPackets.
-
hasRlDropBytes
boolean hasRlDropBytes()
Counter: the total number of rate-limited bytes
optional uint64 rl_drop_bytes = 6 [(.telemetry_options) = { ... }
- Returns:
- Whether the rlDropBytes field is set.
-
getRlDropBytes
long getRlDropBytes()
Counter: the total number of rate-limited bytes
optional uint64 rl_drop_bytes = 6 [(.telemetry_options) = { ... }
- Returns:
- The rlDropBytes.
-
hasRedDropPackets
boolean hasRedDropPackets()
Counter: the total number of red-dropped packets
optional uint64 red_drop_packets = 7 [(.telemetry_options) = { ... }
- Returns:
- Whether the redDropPackets field is set.
-
getRedDropPackets
long getRedDropPackets()
Counter: the total number of red-dropped packets
optional uint64 red_drop_packets = 7 [(.telemetry_options) = { ... }
- Returns:
- The redDropPackets.
-
hasRedDropBytes
boolean hasRedDropBytes()
Counter: the total number of red-dropped bytes
optional uint64 red_drop_bytes = 8 [(.telemetry_options) = { ... }
- Returns:
- Whether the redDropBytes field is set.
-
getRedDropBytes
long getRedDropBytes()
Counter: the total number of red-dropped bytes
optional uint64 red_drop_bytes = 8 [(.telemetry_options) = { ... }
- Returns:
- The redDropBytes.
-
hasAvgBufferOccupancy
boolean hasAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
optional uint64 avg_buffer_occupancy = 9 [(.telemetry_options) = { ... }
- Returns:
- Whether the avgBufferOccupancy field is set.
-
getAvgBufferOccupancy
long getAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
optional uint64 avg_buffer_occupancy = 9 [(.telemetry_options) = { ... }
- Returns:
- The avgBufferOccupancy.
-
hasCurBufferOccupancy
boolean hasCurBufferOccupancy()
Gauge: current queue depth, in packets
optional uint64 cur_buffer_occupancy = 10 [(.telemetry_options) = { ... }
- Returns:
- Whether the curBufferOccupancy field is set.
-
getCurBufferOccupancy
long getCurBufferOccupancy()
Gauge: current queue depth, in packets
optional uint64 cur_buffer_occupancy = 10 [(.telemetry_options) = { ... }
- Returns:
- The curBufferOccupancy.
-
hasPeakBufferOccupancy
boolean hasPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
optional uint64 peak_buffer_occupancy = 11 [(.telemetry_options) = { ... }
- Returns:
- Whether the peakBufferOccupancy field is set.
-
getPeakBufferOccupancy
long getPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
optional uint64 peak_buffer_occupancy = 11 [(.telemetry_options) = { ... }
- Returns:
- The peakBufferOccupancy.
-
hasAllocatedBufferSize
boolean hasAllocatedBufferSize()
allocated buffer size
optional uint64 allocated_buffer_size = 12 [(.telemetry_options) = { ... }
- Returns:
- Whether the allocatedBufferSize field is set.
-
getAllocatedBufferSize
long getAllocatedBufferSize()
allocated buffer size
optional uint64 allocated_buffer_size = 12 [(.telemetry_options) = { ... }
- Returns:
- The allocatedBufferSize.
-
-