Class Port.QueueStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.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 typeQueueStats
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Port.QueueStats.Builder
Protobuf typeQueueStats
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOCATED_BUFFER_SIZE_FIELD_NUMBER
static int
AVG_BUFFER_OCCUPANCY_FIELD_NUMBER
static int
BYTES_FIELD_NUMBER
static int
CUR_BUFFER_OCCUPANCY_FIELD_NUMBER
static int
PACKETS_FIELD_NUMBER
static com.google.protobuf.Parser<Port.QueueStats>
PARSER
static int
PEAK_BUFFER_OCCUPANCY_FIELD_NUMBER
static int
QUEUE_NUMBER_FIELD_NUMBER
static int
RED_DROP_BYTES_FIELD_NUMBER
static int
RED_DROP_PACKETS_FIELD_NUMBER
static int
RL_DROP_BYTES_FIELD_NUMBER
static int
RL_DROP_PACKETS_FIELD_NUMBER
static int
TAIL_DROP_PACKETS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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;
static Port.QueueStats
getDefaultInstance()
Port.QueueStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getPackets()
optional uint64 packets = 2;
com.google.protobuf.Parser<Port.QueueStats>
getParserForType()
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;
int
getSerializedSize()
long
getTailDropPackets()
optional uint64 tail_drop_packets = 4;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
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()
static Port.QueueStats.Builder
newBuilder()
static Port.QueueStats.Builder
newBuilder(Port.QueueStats prototype)
Port.QueueStats.Builder
newBuilderForType()
protected Port.QueueStats.Builder
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static Port.QueueStats
parseDelimitedFrom(java.io.InputStream input)
static Port.QueueStats
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.QueueStats
parseFrom(byte[] data)
static Port.QueueStats
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.QueueStats
parseFrom(com.google.protobuf.ByteString data)
static Port.QueueStats
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.QueueStats
parseFrom(com.google.protobuf.CodedInputStream input)
static Port.QueueStats
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.QueueStats
parseFrom(java.io.InputStream input)
static Port.QueueStats
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Port.QueueStats.Builder
toBuilder()
protected java.lang.Object
writeReplace()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARSER
public static com.google.protobuf.Parser<Port.QueueStats> PARSER
-
QUEUE_NUMBER_FIELD_NUMBER
public static final int QUEUE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKETS_FIELD_NUMBER
public static final int PACKETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_FIELD_NUMBER
public static final int BYTES_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
-
getDefaultInstance
public static Port.QueueStats getDefaultInstance()
-
getDefaultInstanceForType
public Port.QueueStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessage
-
getParserForType
public com.google.protobuf.Parser<Port.QueueStats> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasQueueNumber
public boolean hasQueueNumber()
optional uint32 queue_number = 1;
- Specified by:
hasQueueNumber
in interfacePort.QueueStatsOrBuilder
-
getQueueNumber
public int getQueueNumber()
optional uint32 queue_number = 1;
- Specified by:
getQueueNumber
in interfacePort.QueueStatsOrBuilder
-
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 interfacePort.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 interfacePort.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 interfacePort.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 interfacePort.QueueStatsOrBuilder
-
hasTailDropPackets
public boolean hasTailDropPackets()
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
- Specified by:
hasTailDropPackets
in interfacePort.QueueStatsOrBuilder
-
getTailDropPackets
public long getTailDropPackets()
optional uint64 tail_drop_packets = 4;
Counter: the total number of tail dropped packets
- Specified by:
getTailDropPackets
in interfacePort.QueueStatsOrBuilder
-
hasRlDropPackets
public boolean hasRlDropPackets()
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
- Specified by:
hasRlDropPackets
in interfacePort.QueueStatsOrBuilder
-
getRlDropPackets
public long getRlDropPackets()
optional uint64 rl_drop_packets = 5;
Counter: the total number of rate-limitd packets
- Specified by:
getRlDropPackets
in interfacePort.QueueStatsOrBuilder
-
hasRlDropBytes
public boolean hasRlDropBytes()
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
- Specified by:
hasRlDropBytes
in interfacePort.QueueStatsOrBuilder
-
getRlDropBytes
public long getRlDropBytes()
optional uint64 rl_drop_bytes = 6;
Counter: the total number of rate-limited bytes
- Specified by:
getRlDropBytes
in interfacePort.QueueStatsOrBuilder
-
hasRedDropPackets
public boolean hasRedDropPackets()
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
- Specified by:
hasRedDropPackets
in interfacePort.QueueStatsOrBuilder
-
getRedDropPackets
public long getRedDropPackets()
optional uint64 red_drop_packets = 7;
Counter: the total number of red-dropped packets
- Specified by:
getRedDropPackets
in interfacePort.QueueStatsOrBuilder
-
hasRedDropBytes
public boolean hasRedDropBytes()
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
- Specified by:
hasRedDropBytes
in interfacePort.QueueStatsOrBuilder
-
getRedDropBytes
public long getRedDropBytes()
optional uint64 red_drop_bytes = 8;
Counter: the total number of red-dropped bytes
- Specified by:
getRedDropBytes
in interfacePort.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 interfacePort.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 interfacePort.QueueStatsOrBuilder
-
hasCurBufferOccupancy
public boolean hasCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
- Specified by:
hasCurBufferOccupancy
in interfacePort.QueueStatsOrBuilder
-
getCurBufferOccupancy
public long getCurBufferOccupancy()
optional uint64 cur_buffer_occupancy = 10;
Gauge: current queue depth, in packets
- Specified by:
getCurBufferOccupancy
in interfacePort.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 interfacePort.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 interfacePort.QueueStatsOrBuilder
-
hasAllocatedBufferSize
public boolean hasAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12;
allocated buffer size
- Specified by:
hasAllocatedBufferSize
in interfacePort.QueueStatsOrBuilder
-
getAllocatedBufferSize
public long getAllocatedBufferSize()
optional uint64 allocated_buffer_size = 12;
allocated buffer size
- Specified by:
getAllocatedBufferSize
in interfacePort.QueueStatsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
- Overrides:
writeReplace
in classcom.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
-
newBuilder
public static Port.QueueStats.Builder newBuilder()
-
newBuilderForType
public Port.QueueStats.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Port.QueueStats.Builder newBuilder(Port.QueueStats prototype)
-
toBuilder
public Port.QueueStats.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Port.QueueStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-
-