Class Port.InterfaceStats.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • 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.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • setField

        public Port.InterfaceStats.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • clearField

        public Port.InterfaceStats.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • clearOneof

        public Port.InterfaceStats.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • setRepeatedField

        public Port.InterfaceStats.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • addRepeatedField

        public Port.InterfaceStats.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.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.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • mergeFrom

        public Port.InterfaceStats.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws 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:
        IOException
      • hasIfPkts

        public boolean hasIfPkts()
         Counter: the total number of packets sent/rcvd by this interface
         
        required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
        Specified by:
        hasIfPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the ifPkts field is set.
      • getIfPkts

        public long getIfPkts()
         Counter: the total number of packets sent/rcvd by this interface
         
        required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
        Specified by:
        getIfPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        The ifPkts.
      • setIfPkts

        public Port.InterfaceStats.Builder setIfPkts​(long value)
         Counter: the total number of packets sent/rcvd by this interface
         
        required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifPkts to set.
        Returns:
        This builder for chaining.
      • clearIfPkts

        public Port.InterfaceStats.Builder clearIfPkts()
         Counter: the total number of packets sent/rcvd by this interface
         
        required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfOctets

        public boolean hasIfOctets()
         Counter: the total number of bytes sent/rcvd by this interface
         
        required uint64 if_octets = 2 [(.telemetry_options) = { ... }
        Specified by:
        hasIfOctets in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the ifOctets field is set.
      • getIfOctets

        public long getIfOctets()
         Counter: the total number of bytes sent/rcvd by this interface
         
        required uint64 if_octets = 2 [(.telemetry_options) = { ... }
        Specified by:
        getIfOctets in interface Port.InterfaceStatsOrBuilder
        Returns:
        The ifOctets.
      • setIfOctets

        public Port.InterfaceStats.Builder setIfOctets​(long value)
         Counter: the total number of bytes sent/rcvd by this interface
         
        required uint64 if_octets = 2 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifOctets to set.
        Returns:
        This builder for chaining.
      • clearIfOctets

        public Port.InterfaceStats.Builder clearIfOctets()
         Counter: the total number of bytes sent/rcvd by this interface
         
        required uint64 if_octets = 2 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIf1SecPkts

        public boolean hasIf1SecPkts()
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
        required uint64 if_1sec_pkts = 3 [(.telemetry_options) = { ... }
        Specified by:
        hasIf1SecPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the if1secPkts field is set.
      • getIf1SecPkts

        public long getIf1SecPkts()
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
        required uint64 if_1sec_pkts = 3 [(.telemetry_options) = { ... }
        Specified by:
        getIf1SecPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        The if1secPkts.
      • setIf1SecPkts

        public Port.InterfaceStats.Builder setIf1SecPkts​(long value)
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
        required uint64 if_1sec_pkts = 3 [(.telemetry_options) = { ... }
        Parameters:
        value - The if1secPkts to set.
        Returns:
        This builder for chaining.
      • clearIf1SecPkts

        public Port.InterfaceStats.Builder clearIf1SecPkts()
         Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
         
        required uint64 if_1sec_pkts = 3 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIf1SecOctets

        public boolean hasIf1SecOctets()
         Rate: the rate at which bytes are sent/rcvd by this interface
         
        required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
        Specified by:
        hasIf1SecOctets in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the if1secOctets field is set.
      • getIf1SecOctets

        public long getIf1SecOctets()
         Rate: the rate at which bytes are sent/rcvd by this interface
         
        required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
        Specified by:
        getIf1SecOctets in interface Port.InterfaceStatsOrBuilder
        Returns:
        The if1secOctets.
      • setIf1SecOctets

        public Port.InterfaceStats.Builder setIf1SecOctets​(long value)
         Rate: the rate at which bytes are sent/rcvd by this interface
         
        required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
        Parameters:
        value - The if1secOctets to set.
        Returns:
        This builder for chaining.
      • clearIf1SecOctets

        public Port.InterfaceStats.Builder clearIf1SecOctets()
         Rate: the rate at which bytes are sent/rcvd by this interface
         
        required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfUcPkts

        public boolean hasIfUcPkts()
         Counter: total no of unicast packets sent/rcvd by this interface
         
        required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
        Specified by:
        hasIfUcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the ifUcPkts field is set.
      • getIfUcPkts

        public long getIfUcPkts()
         Counter: total no of unicast packets sent/rcvd by this interface
         
        required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
        Specified by:
        getIfUcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        The ifUcPkts.
      • setIfUcPkts

        public Port.InterfaceStats.Builder setIfUcPkts​(long value)
         Counter: total no of unicast packets sent/rcvd by this interface
         
        required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifUcPkts to set.
        Returns:
        This builder for chaining.
      • clearIfUcPkts

        public Port.InterfaceStats.Builder clearIfUcPkts()
         Counter: total no of unicast packets sent/rcvd by this interface
         
        required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfMcPkts

        public boolean hasIfMcPkts()
         Counter: total no of multicast packets sent/rcvd by this interface
         
        required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
        Specified by:
        hasIfMcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the ifMcPkts field is set.
      • getIfMcPkts

        public long getIfMcPkts()
         Counter: total no of multicast packets sent/rcvd by this interface
         
        required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
        Specified by:
        getIfMcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        The ifMcPkts.
      • setIfMcPkts

        public Port.InterfaceStats.Builder setIfMcPkts​(long value)
         Counter: total no of multicast packets sent/rcvd by this interface
         
        required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifMcPkts to set.
        Returns:
        This builder for chaining.
      • clearIfMcPkts

        public Port.InterfaceStats.Builder clearIfMcPkts()
         Counter: total no of multicast packets sent/rcvd by this interface
         
        required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • hasIfBcPkts

        public boolean hasIfBcPkts()
         Counter: total no of broadcast packets sent/rcvd by this interface
         
        required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
        Specified by:
        hasIfBcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        Whether the ifBcPkts field is set.
      • getIfBcPkts

        public long getIfBcPkts()
         Counter: total no of broadcast packets sent/rcvd by this interface
         
        required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
        Specified by:
        getIfBcPkts in interface Port.InterfaceStatsOrBuilder
        Returns:
        The ifBcPkts.
      • setIfBcPkts

        public Port.InterfaceStats.Builder setIfBcPkts​(long value)
         Counter: total no of broadcast packets sent/rcvd by this interface
         
        required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
        Parameters:
        value - The ifBcPkts to set.
        Returns:
        This builder for chaining.
      • clearIfBcPkts

        public Port.InterfaceStats.Builder clearIfBcPkts()
         Counter: total no of broadcast packets sent/rcvd by this interface
         
        required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Port.InterfaceStats.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>
      • mergeUnknownFields

        public final Port.InterfaceStats.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Port.InterfaceStats.Builder>