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 classPort.QueueStats.BuilderProtobuf 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 intALLOCATED_BUFFER_SIZE_FIELD_NUMBERstatic intAVG_BUFFER_OCCUPANCY_FIELD_NUMBERstatic intBYTES_FIELD_NUMBERstatic intCUR_BUFFER_OCCUPANCY_FIELD_NUMBERstatic intPACKETS_FIELD_NUMBERstatic com.google.protobuf.Parser<Port.QueueStats>PARSERDeprecated.static intPEAK_BUFFER_OCCUPANCY_FIELD_NUMBERstatic intQUEUE_NUMBER_FIELD_NUMBERstatic intRED_DROP_BYTES_FIELD_NUMBERstatic intRED_DROP_PACKETS_FIELD_NUMBERstatic intRL_DROP_BYTES_FIELD_NUMBERstatic intRL_DROP_PACKETS_FIELD_NUMBERstatic intTAIL_DROP_PACKETS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetAllocatedBufferSize()allocated buffer sizelonggetAvgBufferOccupancy()Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBDlonggetBytes()Counter: the total number of bytes that have been added to this queuelonggetCurBufferOccupancy()Gauge: current queue depth, in packetsstatic Port.QueueStatsgetDefaultInstance()Port.QueueStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetPackets()Counter: the total number of packets that have been added to this queuecom.google.protobuf.Parser<Port.QueueStats>getParserForType()longgetPeakBufferOccupancy()Peak: the max measured queue depth, in packets, across all measurements since bo ot.intgetQueueNumber()optional uint32 queue_number = 1 [(.telemetry_options) = { ...longgetRedDropBytes()Counter: the total number of red-dropped byteslonggetRedDropPackets()Counter: the total number of red-dropped packetslonggetRlDropBytes()Counter: the total number of rate-limited byteslonggetRlDropPackets()Counter: the total number of rate-limitd packetsintgetSerializedSize()longgetTailDropPackets()Counter: the total number of tail dropped packetscom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAllocatedBufferSize()allocated buffer sizebooleanhasAvgBufferOccupancy()Average: avg queue depth,TAQL:time-average-queue-len, in packets, details TBDbooleanhasBytes()Counter: the total number of bytes that have been added to this queuebooleanhasCurBufferOccupancy()Gauge: current queue depth, in packetsinthashCode()booleanhasPackets()Counter: the total number of packets that have been added to this queuebooleanhasPeakBufferOccupancy()Peak: the max measured queue depth, in packets, across all measurements since bo ot.booleanhasQueueNumber()optional uint32 queue_number = 1 [(.telemetry_options) = { ...booleanhasRedDropBytes()Counter: the total number of red-dropped bytesbooleanhasRedDropPackets()Counter: the total number of red-dropped packetsbooleanhasRlDropBytes()Counter: the total number of rate-limited bytesbooleanhasRlDropPackets()Counter: the total number of rate-limitd packetsbooleanhasTailDropPackets()Counter: the total number of tail dropped packetsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Port.QueueStats.BuildernewBuilder()static Port.QueueStats.BuildernewBuilder(Port.QueueStats prototype)Port.QueueStats.BuildernewBuilderForType()protected Port.QueueStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Port.QueueStatsparseDelimitedFrom(InputStream input)static Port.QueueStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Port.QueueStatsparseFrom(byte[] data)static Port.QueueStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Port.QueueStatsparseFrom(com.google.protobuf.ByteString data)static Port.QueueStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Port.QueueStatsparseFrom(com.google.protobuf.CodedInputStream input)static Port.QueueStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Port.QueueStatsparseFrom(InputStream input)static Port.QueueStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Port.QueueStatsparseFrom(ByteBuffer data)static Port.QueueStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Port.QueueStats>parser()Port.QueueStats.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasQueueNumber
public boolean hasQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }- Specified by:
hasQueueNumberin interfacePort.QueueStatsOrBuilder- Returns:
- Whether the queueNumber field is set.
-
getQueueNumber
public int getQueueNumber()
optional uint32 queue_number = 1 [(.telemetry_options) = { ... }- Specified by:
getQueueNumberin 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:
hasPacketsin 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:
getPacketsin 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:
hasBytesin 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:
getBytesin 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:
hasTailDropPacketsin 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:
getTailDropPacketsin 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:
hasRlDropPacketsin 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:
getRlDropPacketsin 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:
hasRlDropBytesin 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:
getRlDropBytesin 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:
hasRedDropPacketsin 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:
getRedDropPacketsin 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:
hasRedDropBytesin 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:
getRedDropBytesin 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:
hasAvgBufferOccupancyin 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:
getAvgBufferOccupancyin 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:
hasCurBufferOccupancyin 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:
getCurBufferOccupancyin 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:
hasPeakBufferOccupancyin 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:
getPeakBufferOccupancyin interfacePort.QueueStatsOrBuilder- Returns:
- The peakBufferOccupancy.
-
hasAllocatedBufferSize
public boolean hasAllocatedBufferSize()
allocated buffer size
optional uint64 allocated_buffer_size = 12 [(.telemetry_options) = { ... }- Specified by:
hasAllocatedBufferSizein 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:
getAllocatedBufferSizein interfacePort.QueueStatsOrBuilder- Returns:
- The allocatedBufferSize.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Port.QueueStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Port.QueueStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-