public static final class Port.QueueStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder> implements Port.QueueStatsOrBuilder
QueueStats
Modifier and Type | Method and Description |
---|---|
Port.QueueStats |
build() |
Port.QueueStats |
buildPartial() |
Port.QueueStats.Builder |
clear() |
Port.QueueStats.Builder |
clearAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12; |
Port.QueueStats.Builder |
clearAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9; |
Port.QueueStats.Builder |
clearBytes()
optional uint64 bytes = 3; |
Port.QueueStats.Builder |
clearCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10; |
Port.QueueStats.Builder |
clearPackets()
optional uint64 packets = 2; |
Port.QueueStats.Builder |
clearPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11; |
Port.QueueStats.Builder |
clearQueueNumber()
optional uint32 queue_number = 1; |
Port.QueueStats.Builder |
clearRedDropBytes()
optional uint64 red_drop_bytes = 8; |
Port.QueueStats.Builder |
clearRedDropPackets()
optional uint64 red_drop_packets = 7; |
Port.QueueStats.Builder |
clearRlDropBytes()
optional uint64 rl_drop_bytes = 6; |
Port.QueueStats.Builder |
clearRlDropPackets()
optional uint64 rl_drop_packets = 5; |
Port.QueueStats.Builder |
clearTailDropPackets()
optional uint64 tail_drop_packets = 4; |
Port.QueueStats.Builder |
clone() |
long |
getAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12; |
long |
getAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9; |
long |
getBytes()
optional uint64 bytes = 3; |
long |
getCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10; |
Port.QueueStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getPackets()
optional uint64 packets = 2; |
long |
getPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11; |
int |
getQueueNumber()
optional uint32 queue_number = 1; |
long |
getRedDropBytes()
optional uint64 red_drop_bytes = 8; |
long |
getRedDropPackets()
optional uint64 red_drop_packets = 7; |
long |
getRlDropBytes()
optional uint64 rl_drop_bytes = 6; |
long |
getRlDropPackets()
optional uint64 rl_drop_packets = 5; |
long |
getTailDropPackets()
optional uint64 tail_drop_packets = 4; |
boolean |
hasAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12; |
boolean |
hasAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9; |
boolean |
hasBytes()
optional uint64 bytes = 3; |
boolean |
hasCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10; |
boolean |
hasPackets()
optional uint64 packets = 2; |
boolean |
hasPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11; |
boolean |
hasQueueNumber()
optional uint32 queue_number = 1; |
boolean |
hasRedDropBytes()
optional uint64 red_drop_bytes = 8; |
boolean |
hasRedDropPackets()
optional uint64 red_drop_packets = 7; |
boolean |
hasRlDropBytes()
optional uint64 rl_drop_bytes = 6; |
boolean |
hasRlDropPackets()
optional uint64 rl_drop_packets = 5; |
boolean |
hasTailDropPackets()
optional uint64 tail_drop_packets = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Port.QueueStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Port.QueueStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
Port.QueueStats.Builder |
mergeFrom(Port.QueueStats other) |
Port.QueueStats.Builder |
setAllocatedBufferSize(long value)
optional uint64 allocated_buffer_size = 12; |
Port.QueueStats.Builder |
setAvgBufferOccupancy(long value)
optional uint64 avg_buffer_occupancy = 9; |
Port.QueueStats.Builder |
setBytes(long value)
optional uint64 bytes = 3; |
Port.QueueStats.Builder |
setCurBufferOccupancy(long value)
optional uint64 cur_buffer_occupancy = 10; |
Port.QueueStats.Builder |
setPackets(long value)
optional uint64 packets = 2; |
Port.QueueStats.Builder |
setPeakBufferOccupancy(long value)
optional uint64 peak_buffer_occupancy = 11; |
Port.QueueStats.Builder |
setQueueNumber(int value)
optional uint32 queue_number = 1; |
Port.QueueStats.Builder |
setRedDropBytes(long value)
optional uint64 red_drop_bytes = 8; |
Port.QueueStats.Builder |
setRedDropPackets(long value)
optional uint64 red_drop_packets = 7; |
Port.QueueStats.Builder |
setRlDropBytes(long value)
optional uint64 rl_drop_bytes = 6; |
Port.QueueStats.Builder |
setRlDropPackets(long value)
optional uint64 rl_drop_packets = 5; |
Port.QueueStats.Builder |
setTailDropPackets(long value)
optional uint64 tail_drop_packets = 4; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder>
public Port.QueueStats.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder>
public Port.QueueStats.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder>
public Port.QueueStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Port.QueueStats build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Port.QueueStats buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Port.QueueStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Port.QueueStats.Builder>
public Port.QueueStats.Builder mergeFrom(Port.QueueStats other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Port.QueueStats.Builder>
public Port.QueueStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Port.QueueStats.Builder>
IOException
public boolean hasQueueNumber()
optional uint32 queue_number = 1;
hasQueueNumber
in interface Port.QueueStatsOrBuilder
public int getQueueNumber()
optional uint32 queue_number = 1;
getQueueNumber
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setQueueNumber(int value)
optional uint32 queue_number = 1;
public Port.QueueStats.Builder clearQueueNumber()
optional uint32 queue_number = 1;
public boolean hasPackets()
optional uint64 packets = 2;
Counter: the total number of packets that have been added to this queue
hasPackets
in interface Port.QueueStatsOrBuilder
public long getPackets()
optional uint64 packets = 2;
Counter: the total number of packets that have been added to this queue
getPackets
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setPackets(long value)
optional uint64 packets = 2;
Counter: the total number of packets that have been added to this queue
public Port.QueueStats.Builder clearPackets()
optional uint64 packets = 2;
Counter: the total number of packets that have been added to this queue
public boolean hasBytes()
optional uint64 bytes = 3;
Counter: the total number of bytes that have been added to this queue
hasBytes
in interface Port.QueueStatsOrBuilder
public long getBytes()
optional uint64 bytes = 3;
Counter: the total number of bytes that have been added to this queue
getBytes
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setBytes(long value)
optional uint64 bytes = 3;
Counter: the total number of bytes that have been added to this queue
public Port.QueueStats.Builder clearBytes()
optional uint64 bytes = 3;
Counter: the total number of bytes that have been added to this queue
public boolean hasTailDropPackets()
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
hasTailDropPackets
in interface Port.QueueStatsOrBuilder
public long getTailDropPackets()
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
getTailDropPackets
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setTailDropPackets(long value)
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
public Port.QueueStats.Builder clearTailDropPackets()
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
public boolean hasRlDropPackets()
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
hasRlDropPackets
in interface Port.QueueStatsOrBuilder
public long getRlDropPackets()
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
getRlDropPackets
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setRlDropPackets(long value)
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
public Port.QueueStats.Builder clearRlDropPackets()
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
public boolean hasRlDropBytes()
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
hasRlDropBytes
in interface Port.QueueStatsOrBuilder
public long getRlDropBytes()
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
getRlDropBytes
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setRlDropBytes(long value)
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
public Port.QueueStats.Builder clearRlDropBytes()
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
public boolean hasRedDropPackets()
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
hasRedDropPackets
in interface Port.QueueStatsOrBuilder
public long getRedDropPackets()
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
getRedDropPackets
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setRedDropPackets(long value)
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
public Port.QueueStats.Builder clearRedDropPackets()
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
public boolean hasRedDropBytes()
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
hasRedDropBytes
in interface Port.QueueStatsOrBuilder
public long getRedDropBytes()
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
getRedDropBytes
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setRedDropBytes(long value)
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
public Port.QueueStats.Builder clearRedDropBytes()
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
public boolean hasAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9;
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
hasAvgBufferOccupancy
in interface Port.QueueStatsOrBuilder
public long getAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9;
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
getAvgBufferOccupancy
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setAvgBufferOccupancy(long value)
optional uint64 avg_buffer_occupancy = 9;
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
public Port.QueueStats.Builder clearAvgBufferOccupancy()
optional uint64 avg_buffer_occupancy = 9;
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
public boolean hasCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
hasCurBufferOccupancy
in interface Port.QueueStatsOrBuilder
public long getCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
getCurBufferOccupancy
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setCurBufferOccupancy(long value)
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
public Port.QueueStats.Builder clearCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
public boolean hasPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11;
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
hasPeakBufferOccupancy
in interface Port.QueueStatsOrBuilder
public long getPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11;
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
getPeakBufferOccupancy
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setPeakBufferOccupancy(long value)
optional uint64 peak_buffer_occupancy = 11;
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
public Port.QueueStats.Builder clearPeakBufferOccupancy()
optional uint64 peak_buffer_occupancy = 11;
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
public boolean hasAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12;
allocated buffer size
hasAllocatedBufferSize
in interface Port.QueueStatsOrBuilder
public long getAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12;
allocated buffer size
getAllocatedBufferSize
in interface Port.QueueStatsOrBuilder
public Port.QueueStats.Builder setAllocatedBufferSize(long value)
optional uint64 allocated_buffer_size = 12;
allocated buffer size
public Port.QueueStats.Builder clearAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12;
allocated buffer size
Copyright © 2017. All rights reserved.