Interface LatencyThresholdOverrideOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LatencyThresholdOverride,LatencyThresholdOverride.Builder
public interface LatencyThresholdOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LatencyThresholdOverride.OpcodegetOpcode()The ZooKeeper opcodes.intgetOpcodeValue()The ZooKeeper opcodes.com.google.protobuf.DurationgetThreshold()The latency threshold override of certain opcode.com.google.protobuf.DurationOrBuildergetThresholdOrBuilder()The latency threshold override of certain opcode.booleanhasThreshold()The latency threshold override of certain opcode.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOpcodeValue
int getOpcodeValue()
The ZooKeeper opcodes. Can be found as part of the ZooKeeper source code: https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/ZooDefs.java
.envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride.Opcode opcode = 1 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for opcode.
-
getOpcode
LatencyThresholdOverride.Opcode getOpcode()
The ZooKeeper opcodes. Can be found as part of the ZooKeeper source code: https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/ZooDefs.java
.envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride.Opcode opcode = 1 [(.validate.rules) = { ... }- Returns:
- The opcode.
-
hasThreshold
boolean hasThreshold()
The latency threshold override of certain opcode.
.google.protobuf.Duration threshold = 2 [(.validate.rules) = { ... }- Returns:
- Whether the threshold field is set.
-
getThreshold
com.google.protobuf.Duration getThreshold()
The latency threshold override of certain opcode.
.google.protobuf.Duration threshold = 2 [(.validate.rules) = { ... }- Returns:
- The threshold.
-
getThresholdOrBuilder
com.google.protobuf.DurationOrBuilder getThresholdOrBuilder()
The latency threshold override of certain opcode.
.google.protobuf.Duration threshold = 2 [(.validate.rules) = { ... }
-
-