Class 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 type InterfaceStats
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Port.InterfaceStats.Builder
      Protobuf type InterfaceStats
      • 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>
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • getDefaultInstanceForType

        public Port.InterfaceStats getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessage
      • getParserForType

        public com.google.protobuf.Parser<Port.InterfaceStats> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.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 interface Port.InterfaceStatsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • writeReplace

        protected java.lang.Object writeReplace()
                                         throws java.io.ObjectStreamException
        Overrides:
        writeReplace in class com.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
      • newBuilderForType

        public Port.InterfaceStats.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Port.InterfaceStats.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Port.InterfaceStats.Builder newBuilderForType​(com.google.protobuf.GeneratedMessage.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessage