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 Type
    Method
    Description
    com.google.protobuf.UInt32Value
    Configures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled.
    com.google.protobuf.UInt32ValueOrBuilder
    Configures the minimum number of upstream hosts in the local zone required when force_local_zone is enabled.
    boolean
    Configures 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

    isInitialized

    Methods 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;