Interface Port.InterfaceStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Port.InterfaceStats
,Port.InterfaceStats.Builder
- Enclosing class:
- Port
public static interface Port.InterfaceStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getIf1SecOctets()
Rate: the rate at which bytes are sent/rcvd by this interfacelong
getIf1SecPkts()
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)long
getIfBcPkts()
Counter: total no of broadcast packets sent/rcvd by this interfacelong
getIfMcPkts()
Counter: total no of multicast packets sent/rcvd by this interfacelong
getIfOctets()
Counter: the total number of bytes sent/rcvd by this interfacelong
getIfPkts()
Counter: the total number of packets sent/rcvd by this interfacelong
getIfUcPkts()
Counter: total no of unicast packets sent/rcvd by this interfaceboolean
hasIf1SecOctets()
Rate: the rate at which bytes are sent/rcvd by this interfaceboolean
hasIf1SecPkts()
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)boolean
hasIfBcPkts()
Counter: total no of broadcast packets sent/rcvd by this interfaceboolean
hasIfMcPkts()
Counter: total no of multicast packets sent/rcvd by this interfaceboolean
hasIfOctets()
Counter: the total number of bytes sent/rcvd by this interfaceboolean
hasIfPkts()
Counter: the total number of packets sent/rcvd by this interfaceboolean
hasIfUcPkts()
Counter: total no of unicast packets sent/rcvd by this interface-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIfPkts
boolean hasIfPkts()
Counter: the total number of packets sent/rcvd by this interface
required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
- Returns:
- Whether the ifPkts field is set.
-
getIfPkts
long getIfPkts()
Counter: the total number of packets sent/rcvd by this interface
required uint64 if_pkts = 1 [(.telemetry_options) = { ... }
- Returns:
- The ifPkts.
-
hasIfOctets
boolean hasIfOctets()
Counter: the total number of bytes sent/rcvd by this interface
required uint64 if_octets = 2 [(.telemetry_options) = { ... }
- Returns:
- Whether the ifOctets field is set.
-
getIfOctets
long getIfOctets()
Counter: the total number of bytes sent/rcvd by this interface
required uint64 if_octets = 2 [(.telemetry_options) = { ... }
- Returns:
- The ifOctets.
-
hasIf1SecPkts
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) = { ... }
- Returns:
- Whether the if1secPkts field is set.
-
getIf1SecPkts
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) = { ... }
- Returns:
- The if1secPkts.
-
hasIf1SecOctets
boolean hasIf1SecOctets()
Rate: the rate at which bytes are sent/rcvd by this interface
required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
- Returns:
- Whether the if1secOctets field is set.
-
getIf1SecOctets
long getIf1SecOctets()
Rate: the rate at which bytes are sent/rcvd by this interface
required uint64 if_1sec_octets = 4 [(.telemetry_options) = { ... }
- Returns:
- The if1secOctets.
-
hasIfUcPkts
boolean hasIfUcPkts()
Counter: total no of unicast packets sent/rcvd by this interface
required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
- Returns:
- Whether the ifUcPkts field is set.
-
getIfUcPkts
long getIfUcPkts()
Counter: total no of unicast packets sent/rcvd by this interface
required uint64 if_uc_pkts = 5 [(.telemetry_options) = { ... }
- Returns:
- The ifUcPkts.
-
hasIfMcPkts
boolean hasIfMcPkts()
Counter: total no of multicast packets sent/rcvd by this interface
required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
- Returns:
- Whether the ifMcPkts field is set.
-
getIfMcPkts
long getIfMcPkts()
Counter: total no of multicast packets sent/rcvd by this interface
required uint64 if_mc_pkts = 6 [(.telemetry_options) = { ... }
- Returns:
- The ifMcPkts.
-
hasIfBcPkts
boolean hasIfBcPkts()
Counter: total no of broadcast packets sent/rcvd by this interface
required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
- Returns:
- Whether the ifBcPkts field is set.
-
getIfBcPkts
long getIfBcPkts()
Counter: total no of broadcast packets sent/rcvd by this interface
required uint64 if_bc_pkts = 7 [(.telemetry_options) = { ... }
- Returns:
- The ifBcPkts.
-
-