Class Port.InterfaceStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.Port.InterfaceStats
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,Port.InterfaceStatsOrBuilder
- Enclosing class:
- Port
public static final class Port.InterfaceStats extends com.google.protobuf.GeneratedMessage implements Port.InterfaceStatsOrBuilder
Protobuf typeInterfaceStats
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Port.InterfaceStats.Builder
Protobuf typeInterfaceStats
-
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
IF_1SEC_OCTETS_FIELD_NUMBER
static int
IF_1SEC_PKTS_FIELD_NUMBER
static int
IF_BC_PKTS_FIELD_NUMBER
static int
IF_MC_PKTS_FIELD_NUMBER
static int
IF_OCTETS_FIELD_NUMBER
static int
IF_PKTS_FIELD_NUMBER
static int
IF_UC_PKTS_FIELD_NUMBER
static com.google.protobuf.Parser<Port.InterfaceStats>
PARSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Port.InterfaceStats
getDefaultInstance()
Port.InterfaceStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getIf1SecOctets()
required uint64 if_1sec_octets = 4;
long
getIf1SecPkts()
required uint64 if_1sec_pkts = 3;
long
getIfBcPkts()
required uint64 if_bc_pkts = 7;
long
getIfMcPkts()
required uint64 if_mc_pkts = 6;
long
getIfOctets()
required uint64 if_octets = 2;
long
getIfPkts()
required uint64 if_pkts = 1;
long
getIfUcPkts()
required uint64 if_uc_pkts = 5;
com.google.protobuf.Parser<Port.InterfaceStats>
getParserForType()
int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasIf1SecOctets()
required uint64 if_1sec_octets = 4;
boolean
hasIf1SecPkts()
required uint64 if_1sec_pkts = 3;
boolean
hasIfBcPkts()
required uint64 if_bc_pkts = 7;
boolean
hasIfMcPkts()
required uint64 if_mc_pkts = 6;
boolean
hasIfOctets()
required uint64 if_octets = 2;
boolean
hasIfPkts()
required uint64 if_pkts = 1;
boolean
hasIfUcPkts()
required uint64 if_uc_pkts = 5;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Port.InterfaceStats.Builder
newBuilder()
static Port.InterfaceStats.Builder
newBuilder(Port.InterfaceStats prototype)
Port.InterfaceStats.Builder
newBuilderForType()
protected Port.InterfaceStats.Builder
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static Port.InterfaceStats
parseDelimitedFrom(java.io.InputStream input)
static Port.InterfaceStats
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.InterfaceStats
parseFrom(byte[] data)
static Port.InterfaceStats
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.InterfaceStats
parseFrom(com.google.protobuf.ByteString data)
static Port.InterfaceStats
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.InterfaceStats
parseFrom(com.google.protobuf.CodedInputStream input)
static Port.InterfaceStats
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Port.InterfaceStats
parseFrom(java.io.InputStream input)
static Port.InterfaceStats
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Port.InterfaceStats.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.InterfaceStats> PARSER
-
IF_PKTS_FIELD_NUMBER
public static final int IF_PKTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_OCTETS_FIELD_NUMBER
public static final int IF_OCTETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_1SEC_PKTS_FIELD_NUMBER
public static final int IF_1SEC_PKTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_1SEC_OCTETS_FIELD_NUMBER
public static final int IF_1SEC_OCTETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_UC_PKTS_FIELD_NUMBER
public static final int IF_UC_PKTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_MC_PKTS_FIELD_NUMBER
public static final int IF_MC_PKTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IF_BC_PKTS_FIELD_NUMBER
public static final int IF_BC_PKTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
public static Port.InterfaceStats getDefaultInstance()
-
getDefaultInstanceForType
public Port.InterfaceStats 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.InterfaceStats> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
hasIfPkts
public boolean hasIfPkts()
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
- Specified by:
hasIfPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfPkts
public long getIfPkts()
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
- Specified by:
getIfPkts
in interfacePort.InterfaceStatsOrBuilder
-
hasIfOctets
public boolean hasIfOctets()
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
- Specified by:
hasIfOctets
in interfacePort.InterfaceStatsOrBuilder
-
getIfOctets
public long getIfOctets()
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
- Specified by:
getIfOctets
in interfacePort.InterfaceStatsOrBuilder
-
hasIf1SecPkts
public boolean hasIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
- Specified by:
hasIf1SecPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIf1SecPkts
public long getIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
- Specified by:
getIf1SecPkts
in interfacePort.InterfaceStatsOrBuilder
-
hasIf1SecOctets
public boolean hasIf1SecOctets()
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
- Specified by:
hasIf1SecOctets
in interfacePort.InterfaceStatsOrBuilder
-
getIf1SecOctets
public long getIf1SecOctets()
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
- Specified by:
getIf1SecOctets
in interfacePort.InterfaceStatsOrBuilder
-
hasIfUcPkts
public boolean hasIfUcPkts()
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
- Specified by:
hasIfUcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfUcPkts
public long getIfUcPkts()
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
- Specified by:
getIfUcPkts
in interfacePort.InterfaceStatsOrBuilder
-
hasIfMcPkts
public boolean hasIfMcPkts()
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
- Specified by:
hasIfMcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfMcPkts
public long getIfMcPkts()
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
- Specified by:
getIfMcPkts
in interfacePort.InterfaceStatsOrBuilder
-
hasIfBcPkts
public boolean hasIfBcPkts()
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
- Specified by:
hasIfBcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfBcPkts
public long getIfBcPkts()
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
- Specified by:
getIfBcPkts
in interfacePort.InterfaceStatsOrBuilder
-
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.InterfaceStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Port.InterfaceStats 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.InterfaceStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Port.InterfaceStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Port.InterfaceStats parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Port.InterfaceStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Port.InterfaceStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Port.InterfaceStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Port.InterfaceStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Port.InterfaceStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Port.InterfaceStats.Builder newBuilder()
-
newBuilderForType
public Port.InterfaceStats.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Port.InterfaceStats.Builder newBuilder(Port.InterfaceStats prototype)
-
toBuilder
public Port.InterfaceStats.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Port.InterfaceStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessage
-
-