Interface FirewallOuterClass.CounterStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FirewallOuterClass.CounterStats
,FirewallOuterClass.CounterStats.Builder
- Enclosing class:
- FirewallOuterClass
public static interface FirewallOuterClass.CounterStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytes()
The total number of bytes seen by the counterString
getName()
Counter namecom.google.protobuf.ByteString
getNameBytes()
Counter namelong
getPackets()
The total number of packets seen by the counterboolean
hasBytes()
The total number of bytes seen by the counterboolean
hasName()
Counter nameboolean
hasPackets()
The total number of packets seen by the counter-
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()
Counter name
required string name = 1 [(.telemetry_options) = { ... }
- Returns:
- Whether the name field is set.
-
getName
String getName()
Counter name
required string name = 1 [(.telemetry_options) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Counter name
required string name = 1 [(.telemetry_options) = { ... }
- Returns:
- The bytes for name.
-
hasPackets
boolean hasPackets()
The total number of packets seen by the counter
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Returns:
- Whether the packets field is set.
-
getPackets
long getPackets()
The total number of packets seen by the counter
optional uint64 packets = 2 [(.telemetry_options) = { ... }
- Returns:
- The packets.
-
hasBytes
boolean hasBytes()
The total number of bytes seen by the counter
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Returns:
- Whether the bytes field is set.
-
getBytes
long getBytes()
The total number of bytes seen by the counter
optional uint64 bytes = 3 [(.telemetry_options) = { ... }
- Returns:
- The bytes.
-
-