Interface LspStatsOuterClass.LspStatsRecordOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LspStatsOuterClass.LspStatsRecord
,LspStatsOuterClass.LspStatsRecord.Builder
- Enclosing class:
- LspStatsOuterClass
public static interface LspStatsOuterClass.LspStatsRecordOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getByteRate()
Byte rate computed over the most recent 3 second intervallong
getBytes()
The total number of bytesString
getCounterName()
Name of the counter.com.google.protobuf.ByteString
getCounterNameBytes()
Name of the counter.int
getInstanceIdentifier()
Instance Identifier for cases when RPD creates multiple instancesString
getName()
Name of the LSPcom.google.protobuf.ByteString
getNameBytes()
Name of the LSPlong
getPacketRate()
Packet rate computed over the most recent 3 second intervallong
getPackets()
The total number of packetsboolean
hasByteRate()
Byte rate computed over the most recent 3 second intervalboolean
hasBytes()
The total number of bytesboolean
hasCounterName()
Name of the counter.boolean
hasInstanceIdentifier()
Instance Identifier for cases when RPD creates multiple instancesboolean
hasName()
Name of the LSPboolean
hasPacketRate()
Packet rate computed over the most recent 3 second intervalboolean
hasPackets()
The total number of packets-
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.
-
-