Interface LocalityLbConfig.ZoneAwareLbConfig.ForceLocalZoneOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalityLbConfig.ZoneAwareLbConfig.ForceLocalZone,LocalityLbConfig.ZoneAwareLbConfig.ForceLocalZone.Builder
- Enclosing class:
- LocalityLbConfig.ZoneAwareLbConfig
public static interface LocalityLbConfig.ZoneAwareLbConfig.ForceLocalZoneOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.UInt32ValueConfigures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled.com.google.protobuf.UInt32ValueOrBuilderConfigures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled.booleanConfigures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled.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
-
hasMinSize
boolean hasMinSize()Configures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled. If the number of upstream hosts in the local zone is less than the specified value, Envoy will fall back to the default proportional-based distribution across localities. If not specified, the default is 1. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt32Value min_size = 1;- Returns:
- Whether the minSize field is set.
-
getMinSize
com.google.protobuf.UInt32Value getMinSize()Configures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled. If the number of upstream hosts in the local zone is less than the specified value, Envoy will fall back to the default proportional-based distribution across localities. If not specified, the default is 1. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt32Value min_size = 1;- Returns:
- The minSize.
-
getMinSizeOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMinSizeOrBuilder()Configures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled. If the number of upstream hosts in the local zone is less than the specified value, Envoy will fall back to the default proportional-based distribution across localities. If not specified, the default is 1. * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`. * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
.google.protobuf.UInt32Value min_size = 1;
-