接口 DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
DestinationRuleOuterClass.LocalityLoadBalancerSetting,DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder
public static interface DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributegetDistribute(int index)Optional: only one of distribute or failover can be set.intgetDistributeCount()Optional: only one of distribute or failover can be set.java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute>getDistributeList()Optional: only one of distribute or failover can be set.DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuildergetDistributeOrBuilder(int index)Optional: only one of distribute or failover can be set.java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder>getDistributeOrBuilderList()Optional: only one of distribute or failover can be set.com.google.protobuf.BoolValuegetEnabled()enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.com.google.protobuf.BoolValueOrBuildergetEnabledOrBuilder()enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailovergetFailover(int index)Optional: only failover or distribute can be set.intgetFailoverCount()Optional: only failover or distribute can be set.java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover>getFailoverList()Optional: only failover or distribute can be set.DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuildergetFailoverOrBuilder(int index)Optional: only failover or distribute can be set.java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder>getFailoverOrBuilderList()Optional: only failover or distribute can be set.booleanhasEnabled()enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
-
-
-
方法详细资料
-
getDistributeList
java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute> getDistributeList()
Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
-
getDistribute
DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute getDistribute(int index)
Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
-
getDistributeCount
int getDistributeCount()
Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
-
getDistributeOrBuilderList
java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder> getDistributeOrBuilderList()
Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
-
getDistributeOrBuilder
DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder getDistributeOrBuilder(int index)
Optional: only one of distribute or failover can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Distribute distribute = 1;
-
getFailoverList
java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover> getFailoverList()
Optional: only failover or distribute can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
-
getFailover
DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover getFailover(int index)
Optional: only failover or distribute can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
-
getFailoverCount
int getFailoverCount()
Optional: only failover or distribute can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
-
getFailoverOrBuilderList
java.util.List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder> getFailoverOrBuilderList()
Optional: only failover or distribute can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
-
getFailoverOrBuilder
DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder getFailoverOrBuilder(int index)
Optional: only failover or distribute can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.
repeated .istio.networking.v1alpha3.LocalityLoadBalancerSetting.Failover failover = 2;
-
hasEnabled
boolean hasEnabled()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety. e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
.google.protobuf.BoolValue enabled = 3;- 返回:
- Whether the enabled field is set.
-
getEnabled
com.google.protobuf.BoolValue getEnabled()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety. e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
.google.protobuf.BoolValue enabled = 3;- 返回:
- The enabled.
-
getEnabledOrBuilder
com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety. e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.
.google.protobuf.BoolValue enabled = 3;
-
-