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
Modifier and TypeMethodDescriptionThe ZooKeeper opcodes.intThe ZooKeeper opcodes.com.google.protobuf.DurationThe latency threshold override of certain opcode.com.google.protobuf.DurationOrBuilderThe latency threshold override of certain opcode.booleanThe latency threshold override of certain opcode.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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) = { ... }
-