Interface RandomSubsettingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RandomSubsetting,RandomSubsetting.Builder
public interface RandomSubsettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe config for the child policy.The config for the child policy.com.google.protobuf.UInt32Valuesubset_size indicates how many backends every client will be connected to.com.google.protobuf.UInt32ValueOrBuildersubset_size indicates how many backends every client will be connected to.booleanThe config for the child policy.booleansubset_size indicates how many backends every client will be connected to.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
-
hasSubsetSize
boolean hasSubsetSize()subset_size indicates how many backends every client will be connected to. The value must be greater than 0.
.google.protobuf.UInt32Value subset_size = 1 [(.validate.rules) = { ... }- Returns:
- Whether the subsetSize field is set.
-
getSubsetSize
com.google.protobuf.UInt32Value getSubsetSize()subset_size indicates how many backends every client will be connected to. The value must be greater than 0.
.google.protobuf.UInt32Value subset_size = 1 [(.validate.rules) = { ... }- Returns:
- The subsetSize.
-
getSubsetSizeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getSubsetSizeOrBuilder()subset_size indicates how many backends every client will be connected to. The value must be greater than 0.
.google.protobuf.UInt32Value subset_size = 1 [(.validate.rules) = { ... } -
hasChildPolicy
boolean hasChildPolicy()The config for the child policy. The value is required.
.envoy.config.cluster.v3.LoadBalancingPolicy child_policy = 2 [(.validate.rules) = { ... }- Returns:
- Whether the childPolicy field is set.
-
getChildPolicy
LoadBalancingPolicy getChildPolicy()The config for the child policy. The value is required.
.envoy.config.cluster.v3.LoadBalancingPolicy child_policy = 2 [(.validate.rules) = { ... }- Returns:
- The childPolicy.
-
getChildPolicyOrBuilder
LoadBalancingPolicyOrBuilder getChildPolicyOrBuilder()The config for the child policy. The value is required.
.envoy.config.cluster.v3.LoadBalancingPolicy child_policy = 2 [(.validate.rules) = { ... }
-