Class LspStatsOuterClass.LspStatsRecord
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.LspStatsOuterClass.LspStatsRecord
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,LspStatsOuterClass.LspStatsRecordOrBuilder
- Enclosing class:
- LspStatsOuterClass
public static final class LspStatsOuterClass.LspStatsRecord extends com.google.protobuf.GeneratedMessage implements LspStatsOuterClass.LspStatsRecordOrBuilder
Protobuf typeLspStatsRecord
LSP statistics record
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LspStatsOuterClass.LspStatsRecord.Builder
Protobuf typeLspStatsRecord
-
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
BYTE_RATE_FIELD_NUMBER
static int
BYTES_FIELD_NUMBER
static int
COUNTER_NAME_FIELD_NUMBER
static int
INSTANCE_IDENTIFIER_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PACKET_RATE_FIELD_NUMBER
static int
PACKETS_FIELD_NUMBER
static com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord>
PARSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getByteRate()
optional uint64 byte_rate = 7;
long
getBytes()
optional uint64 bytes = 5;
java.lang.String
getCounterName()
required string counter_name = 3;
com.google.protobuf.ByteString
getCounterNameBytes()
required string counter_name = 3;
static LspStatsOuterClass.LspStatsRecord
getDefaultInstance()
LspStatsOuterClass.LspStatsRecord
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getInstanceIdentifier()
required uint32 instance_identifier = 2;
java.lang.String
getName()
required string name = 1;
com.google.protobuf.ByteString
getNameBytes()
required string name = 1;
long
getPacketRate()
optional uint64 packet_rate = 6;
long
getPackets()
optional uint64 packets = 4;
com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord>
getParserForType()
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasByteRate()
optional uint64 byte_rate = 7;
boolean
hasBytes()
optional uint64 bytes = 5;
boolean
hasCounterName()
required string counter_name = 3;
boolean
hasInstanceIdentifier()
required uint32 instance_identifier = 2;
boolean
hasName()
required string name = 1;
boolean
hasPacketRate()
optional uint64 packet_rate = 6;
boolean
hasPackets()
optional uint64 packets = 4;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static LspStatsOuterClass.LspStatsRecord.Builder
newBuilder()
static LspStatsOuterClass.LspStatsRecord.Builder
newBuilder(LspStatsOuterClass.LspStatsRecord prototype)
LspStatsOuterClass.LspStatsRecord.Builder
newBuilderForType()
protected LspStatsOuterClass.LspStatsRecord.Builder
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static LspStatsOuterClass.LspStatsRecord
parseDelimitedFrom(java.io.InputStream input)
static LspStatsOuterClass.LspStatsRecord
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LspStatsOuterClass.LspStatsRecord
parseFrom(byte[] data)
static LspStatsOuterClass.LspStatsRecord
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LspStatsOuterClass.LspStatsRecord
parseFrom(com.google.protobuf.ByteString data)
static LspStatsOuterClass.LspStatsRecord
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LspStatsOuterClass.LspStatsRecord
parseFrom(com.google.protobuf.CodedInputStream input)
static LspStatsOuterClass.LspStatsRecord
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LspStatsOuterClass.LspStatsRecord
parseFrom(java.io.InputStream input)
static LspStatsOuterClass.LspStatsRecord
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LspStatsOuterClass.LspStatsRecord.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<LspStatsOuterClass.LspStatsRecord> PARSER
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_IDENTIFIER_FIELD_NUMBER
public static final int INSTANCE_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTER_NAME_FIELD_NUMBER
public static final int COUNTER_NAME_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
-
PACKET_RATE_FIELD_NUMBER
public static final int PACKET_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTE_RATE_FIELD_NUMBER
public static final int BYTE_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static LspStatsOuterClass.LspStatsRecord getDefaultInstance()
-
getDefaultInstanceForType
public LspStatsOuterClass.LspStatsRecord 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<LspStatsOuterClass.LspStatsRecord> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasName
public boolean hasName()
required string name = 1;
Name of the LSP
- Specified by:
hasName
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getName
public java.lang.String getName()
required string name = 1;
Name of the LSP
- Specified by:
getName
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
Name of the LSP
- Specified by:
getNameBytes
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasInstanceIdentifier
public boolean hasInstanceIdentifier()
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
- Specified by:
hasInstanceIdentifier
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getInstanceIdentifier
public int getInstanceIdentifier()
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
- Specified by:
getInstanceIdentifier
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasCounterName
public boolean hasCounterName()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
- Specified by:
hasCounterName
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getCounterName
public java.lang.String getCounterName()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
- Specified by:
getCounterName
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getCounterNameBytes
public com.google.protobuf.ByteString getCounterNameBytes()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
- Specified by:
getCounterNameBytes
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasPackets
public boolean hasPackets()
optional uint64 packets = 4;
The total number of packets
- Specified by:
hasPackets
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getPackets
public long getPackets()
optional uint64 packets = 4;
The total number of packets
- Specified by:
getPackets
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasBytes
public boolean hasBytes()
optional uint64 bytes = 5;
The total number of bytes
- Specified by:
hasBytes
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getBytes
public long getBytes()
optional uint64 bytes = 5;
The total number of bytes
- Specified by:
getBytes
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasPacketRate
public boolean hasPacketRate()
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
- Specified by:
hasPacketRate
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getPacketRate
public long getPacketRate()
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
- Specified by:
getPacketRate
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
hasByteRate
public boolean hasByteRate()
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
- Specified by:
hasByteRate
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
getByteRate
public long getByteRate()
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
- Specified by:
getByteRate
in interfaceLspStatsOuterClass.LspStatsRecordOrBuilder
-
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 LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LspStatsOuterClass.LspStatsRecord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LspStatsOuterClass.LspStatsRecord parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static LspStatsOuterClass.LspStatsRecord.Builder newBuilder()
-
newBuilderForType
public LspStatsOuterClass.LspStatsRecord.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LspStatsOuterClass.LspStatsRecord.Builder newBuilder(LspStatsOuterClass.LspStatsRecord prototype)
-
toBuilder
public LspStatsOuterClass.LspStatsRecord.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LspStatsOuterClass.LspStatsRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-
-