Package io.envoyproxy.envoy.api.v2
Interface Cluster.LeastRequestLbConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.LeastRequestLbConfig,Cluster.LeastRequestLbConfig.Builder
- Enclosing class:
- Cluster
public static interface Cluster.LeastRequestLbConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.UInt32ValuegetChoiceCount()The number of random healthy hosts from which the host with the fewest active requests will be chosen.com.google.protobuf.UInt32ValueOrBuildergetChoiceCountOrBuilder()The number of random healthy hosts from which the host with the fewest active requests will be chosen.booleanhasChoiceCount()The number of random healthy hosts from which the host with the fewest active requests will be chosen.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasChoiceCount
boolean hasChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }- Returns:
- Whether the choiceCount field is set.
-
getChoiceCount
com.google.protobuf.UInt32Value getChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }- Returns:
- The choiceCount.
-
getChoiceCountOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getChoiceCountOrBuilder()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }
-
-