Class Port.InterfaceStats.Builder

    • Method Detail

      • 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.Builder<Port.InterfaceStats.Builder>
      • clear

        public Port.InterfaceStats.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
      • clone

        public Port.InterfaceStats.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
      • getDefaultInstanceForType

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

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

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

        public Port.InterfaceStats.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Port.InterfaceStats.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
      • mergeFrom

        public Port.InterfaceStats.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Port.InterfaceStats.Builder>
        Throws:
        java.io.IOException
      • 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
      • setIfPkts

        public Port.InterfaceStats.Builder setIfPkts​(long value)
        required uint64 if_pkts = 1;
         Counter: the total number of packets sent/rcvd by this interface
         
      • clearIfPkts

        public Port.InterfaceStats.Builder clearIfPkts()
        required uint64 if_pkts = 1;
         Counter: the total number of packets sent/rcvd by this interface
         
      • 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
      • setIfOctets

        public Port.InterfaceStats.Builder setIfOctets​(long value)
        required uint64 if_octets = 2;
         Counter: the total number of bytes sent/rcvd by this interface
         
      • clearIfOctets

        public Port.InterfaceStats.Builder clearIfOctets()
        required uint64 if_octets = 2;
         Counter: the total number of bytes sent/rcvd by this interface
         
      • 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
      • setIf1SecPkts

        public Port.InterfaceStats.Builder setIf1SecPkts​(long value)
        required uint64 if_1sec_pkts = 3;
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
      • clearIf1SecPkts

        public Port.InterfaceStats.Builder clearIf1SecPkts()
        required uint64 if_1sec_pkts = 3;
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
      • 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
      • setIf1SecOctets

        public Port.InterfaceStats.Builder setIf1SecOctets​(long value)
        required uint64 if_1sec_octets = 4;
         Rate: the rate at which bytes are sent/rcvd by this interface
         
      • clearIf1SecOctets

        public Port.InterfaceStats.Builder clearIf1SecOctets()
        required uint64 if_1sec_octets = 4;
         Rate: the rate at which bytes are sent/rcvd by this interface
         
      • 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
      • setIfUcPkts

        public Port.InterfaceStats.Builder setIfUcPkts​(long value)
        required uint64 if_uc_pkts = 5;
         Counter: total no of unicast packets sent/rcvd by this interface
         
      • clearIfUcPkts

        public Port.InterfaceStats.Builder clearIfUcPkts()
        required uint64 if_uc_pkts = 5;
         Counter: total no of unicast packets sent/rcvd by this interface
         
      • 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
      • setIfMcPkts

        public Port.InterfaceStats.Builder setIfMcPkts​(long value)
        required uint64 if_mc_pkts = 6;
         Counter: total no of multicast packets sent/rcvd by this interface
         
      • clearIfMcPkts

        public Port.InterfaceStats.Builder clearIfMcPkts()
        required uint64 if_mc_pkts = 6;
         Counter: total no of multicast packets sent/rcvd by this interface
         
      • 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
      • setIfBcPkts

        public Port.InterfaceStats.Builder setIfBcPkts​(long value)
        required uint64 if_bc_pkts = 7;
         Counter: total no of broadcast packets sent/rcvd by this interface
         
      • clearIfBcPkts

        public Port.InterfaceStats.Builder clearIfBcPkts()
        required uint64 if_bc_pkts = 7;
         Counter: total no of broadcast packets sent/rcvd by this interface