Interface LspStatsOuterClass.LspStatsRecordOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getByteRate()
      Byte rate computed over the most recent 3 second interval
      long getBytes()
      The total number of bytes
      String getCounterName()
      Name of the counter.
      com.google.protobuf.ByteString getCounterNameBytes()
      Name of the counter.
      int getInstanceIdentifier()
      Instance Identifier for cases when RPD creates multiple instances
      String getName()
      Name of the LSP
      com.google.protobuf.ByteString getNameBytes()
      Name of the LSP
      long getPacketRate()
      Packet rate computed over the most recent 3 second interval
      long getPackets()
      The total number of packets
      boolean hasByteRate()
      Byte rate computed over the most recent 3 second interval
      boolean hasBytes()
      The total number of bytes
      boolean hasCounterName()
      Name of the counter.
      boolean hasInstanceIdentifier()
      Instance Identifier for cases when RPD creates multiple instances
      boolean hasName()
      Name of the LSP
      boolean hasPacketRate()
      Packet rate computed over the most recent 3 second interval
      boolean hasPackets()
      The total number of packets
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasName

        boolean hasName()
         Name of the LSP
         
        required string name = 1 [(.telemetry_options) = { ... }
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the LSP
         
        required string name = 1 [(.telemetry_options) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the LSP
         
        required string name = 1 [(.telemetry_options) = { ... }
        Returns:
        The bytes for name.
      • hasInstanceIdentifier

        boolean hasInstanceIdentifier()
         Instance Identifier for cases when RPD creates multiple instances
         
        required uint32 instance_identifier = 2 [(.telemetry_options) = { ... }
        Returns:
        Whether the instanceIdentifier field is set.
      • getInstanceIdentifier

        int getInstanceIdentifier()
         Instance Identifier for cases when RPD creates multiple instances
         
        required uint32 instance_identifier = 2 [(.telemetry_options) = { ... }
        Returns:
        The instanceIdentifier.
      • hasCounterName

        boolean hasCounterName()
         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.
         
        required string counter_name = 3 [(.telemetry_options) = { ... }
        Returns:
        Whether the counterName field is set.
      • getCounterName

        String getCounterName()
         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.
         
        required string counter_name = 3 [(.telemetry_options) = { ... }
        Returns:
        The counterName.
      • getCounterNameBytes

        com.google.protobuf.ByteString getCounterNameBytes()
         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.
         
        required string counter_name = 3 [(.telemetry_options) = { ... }
        Returns:
        The bytes for counterName.
      • hasPackets

        boolean hasPackets()
         The total number of packets
         
        optional uint64 packets = 4 [(.telemetry_options) = { ... }
        Returns:
        Whether the packets field is set.
      • getPackets

        long getPackets()
         The total number of packets
         
        optional uint64 packets = 4 [(.telemetry_options) = { ... }
        Returns:
        The packets.
      • hasBytes

        boolean hasBytes()
         The total number of bytes
         
        optional uint64 bytes = 5 [(.telemetry_options) = { ... }
        Returns:
        Whether the bytes field is set.
      • getBytes

        long getBytes()
         The total number of bytes
         
        optional uint64 bytes = 5 [(.telemetry_options) = { ... }
        Returns:
        The bytes.
      • hasPacketRate

        boolean hasPacketRate()
         Packet rate computed over the most recent 3 second interval
         
        optional uint64 packet_rate = 6;
        Returns:
        Whether the packetRate field is set.
      • getPacketRate

        long getPacketRate()
         Packet rate computed over the most recent 3 second interval
         
        optional uint64 packet_rate = 6;
        Returns:
        The packetRate.
      • hasByteRate

        boolean hasByteRate()
         Byte rate computed over the most recent 3 second interval
         
        optional uint64 byte_rate = 7;
        Returns:
        Whether the byteRate field is set.
      • getByteRate

        long getByteRate()
         Byte rate computed over the most recent 3 second interval
         
        optional uint64 byte_rate = 7;
        Returns:
        The byteRate.