Class Port.QueueStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
,Serializable
,Port.QueueStatsOrBuilder
- Enclosing class:
- Port
public static final class Port.QueueStats extends com.google.protobuf.GeneratedMessageV3 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.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
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
Deprecated.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 boolean
equals(Object obj)
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 packetsstatic Port.QueueStats
getDefaultInstance()
Port.QueueStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getPackets()
Counter: the total number of packets that have been added to this queuecom.google.protobuf.Parser<Port.QueueStats>
getParserForType()
long
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 packetsint
getSerializedSize()
long
getTailDropPackets()
Counter: the total number of tail dropped packetscom.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
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 packetsint
hashCode()
boolean
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 packetsprotected com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Port.QueueStats
parseDelimitedFrom(InputStream input)
static Port.QueueStats
parseDelimitedFrom(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(InputStream input)
static Port.QueueStats
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.QueueStats
parseFrom(ByteBuffer data)
static Port.QueueStats
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Port.QueueStats>
parser()
Port.QueueStats.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, 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
-
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
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Port.QueueStats> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasQueueNumber
public boolean hasQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }
- Specified by:
hasQueueNumber
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the queueNumber field is set.
-
getQueueNumber
public int getQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }
- Specified by:
getQueueNumber
in interfacePort.QueueStatsOrBuilder
- Returns:
- The queueNumber.
-
hasPackets
public boolean hasPackets()
Counter: the total number of packets that have been added to this queue
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Specified by:
hasPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the packets field is set.
-
getPackets
public long getPackets()
Counter: the total number of packets that have been added to this queue
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Specified by:
getPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- The packets.
-
hasBytes
public boolean hasBytes()
Counter: the total number of bytes that have been added to this queue
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Specified by:
hasBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the bytes field is set.
-
getBytes
public long getBytes()
Counter: the total number of bytes that have been added to this queue
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Specified by:
getBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- The bytes.
-
hasTailDropPackets
public boolean hasTailDropPackets()
Counter: the total number of tail dropped packets
optional uint64 tail_drop_packets = 4 [(.telemetry_options) = { ... }
- Specified by:
hasTailDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the tailDropPackets field is set.
-
getTailDropPackets
public long getTailDropPackets()
Counter: the total number of tail dropped packets
optional uint64 tail_drop_packets = 4 [(.telemetry_options) = { ... }
- Specified by:
getTailDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- The tailDropPackets.
-
hasRlDropPackets
public boolean hasRlDropPackets()
Counter: the total number of rate-limitd packets
optional uint64 rl_drop_packets = 5 [(.telemetry_options) = { ... }
- Specified by:
hasRlDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the rlDropPackets field is set.
-
getRlDropPackets
public long getRlDropPackets()
Counter: the total number of rate-limitd packets
optional uint64 rl_drop_packets = 5 [(.telemetry_options) = { ... }
- Specified by:
getRlDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- The rlDropPackets.
-
hasRlDropBytes
public boolean hasRlDropBytes()
Counter: the total number of rate-limited bytes
optional uint64 rl_drop_bytes = 6 [(.telemetry_options) = { ... }
- Specified by:
hasRlDropBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the rlDropBytes field is set.
-
getRlDropBytes
public long getRlDropBytes()
Counter: the total number of rate-limited bytes
optional uint64 rl_drop_bytes = 6 [(.telemetry_options) = { ... }
- Specified by:
getRlDropBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- The rlDropBytes.
-
hasRedDropPackets
public boolean hasRedDropPackets()
Counter: the total number of red-dropped packets
optional uint64 red_drop_packets = 7 [(.telemetry_options) = { ... }
- Specified by:
hasRedDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the redDropPackets field is set.
-
getRedDropPackets
public long getRedDropPackets()
Counter: the total number of red-dropped packets
optional uint64 red_drop_packets = 7 [(.telemetry_options) = { ... }
- Specified by:
getRedDropPackets
in interfacePort.QueueStatsOrBuilder
- Returns:
- The redDropPackets.
-
hasRedDropBytes
public boolean hasRedDropBytes()
Counter: the total number of red-dropped bytes
optional uint64 red_drop_bytes = 8 [(.telemetry_options) = { ... }
- Specified by:
hasRedDropBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the redDropBytes field is set.
-
getRedDropBytes
public long getRedDropBytes()
Counter: the total number of red-dropped bytes
optional uint64 red_drop_bytes = 8 [(.telemetry_options) = { ... }
- Specified by:
getRedDropBytes
in interfacePort.QueueStatsOrBuilder
- Returns:
- The redDropBytes.
-
hasAvgBufferOccupancy
public boolean hasAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
optional uint64 avg_buffer_occupancy = 9 [(.telemetry_options) = { ... }
- Specified by:
hasAvgBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the avgBufferOccupancy field is set.
-
getAvgBufferOccupancy
public long getAvgBufferOccupancy()
Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBD
optional uint64 avg_buffer_occupancy = 9 [(.telemetry_options) = { ... }
- Specified by:
getAvgBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- The avgBufferOccupancy.
-
hasCurBufferOccupancy
public boolean hasCurBufferOccupancy()
Gauge: current queue depth, in packets
optional uint64 cur_buffer_occupancy = 10 [(.telemetry_options) = { ... }
- Specified by:
hasCurBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the curBufferOccupancy field is set.
-
getCurBufferOccupancy
public long getCurBufferOccupancy()
Gauge: current queue depth, in packets
optional uint64 cur_buffer_occupancy = 10 [(.telemetry_options) = { ... }
- Specified by:
getCurBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- The curBufferOccupancy.
-
hasPeakBufferOccupancy
public boolean hasPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
optional uint64 peak_buffer_occupancy = 11 [(.telemetry_options) = { ... }
- Specified by:
hasPeakBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the peakBufferOccupancy field is set.
-
getPeakBufferOccupancy
public long getPeakBufferOccupancy()
Peak: the max measured queue depth, in packets, across all measurements since bo ot.
optional uint64 peak_buffer_occupancy = 11 [(.telemetry_options) = { ... }
- Specified by:
getPeakBufferOccupancy
in interfacePort.QueueStatsOrBuilder
- Returns:
- The peakBufferOccupancy.
-
hasAllocatedBufferSize
public boolean hasAllocatedBufferSize()
allocated buffer size
optional uint64 allocated_buffer_size = 12 [(.telemetry_options) = { ... }
- Specified by:
hasAllocatedBufferSize
in interfacePort.QueueStatsOrBuilder
- Returns:
- Whether the allocatedBufferSize field is set.
-
getAllocatedBufferSize
public long getAllocatedBufferSize()
allocated buffer size
optional uint64 allocated_buffer_size = 12 [(.telemetry_options) = { ... }
- Specified by:
getAllocatedBufferSize
in interfacePort.QueueStatsOrBuilder
- Returns:
- The allocatedBufferSize.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Port.QueueStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Port.QueueStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Port.QueueStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Port.QueueStats parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Port.QueueStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Port.QueueStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Port.QueueStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
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()
-
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.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Port.QueueStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Port.QueueStats> parser()
-
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.GeneratedMessageV3
-
getDefaultInstanceForType
public Port.QueueStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-