public static interface DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute |
getDistribute(int index)
Optional: only one of distribute or failover can be set.
|
int |
getDistributeCount()
Optional: only one of distribute or failover can be set.
|
List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute> |
getDistributeList()
Optional: only one of distribute or failover can be set.
|
DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder |
getDistributeOrBuilder(int index)
Optional: only one of distribute or failover can be set.
|
List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder> |
getDistributeOrBuilderList()
Optional: only one of distribute or failover can be set.
|
com.google.protobuf.BoolValue |
getEnabled()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
|
com.google.protobuf.BoolValueOrBuilder |
getEnabledOrBuilder()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
|
DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover |
getFailover(int index)
Optional: only failover or distribute can be set.
|
int |
getFailoverCount()
Optional: only failover or distribute can be set.
|
List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover> |
getFailoverList()
Optional: only failover or distribute can be set.
|
DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder |
getFailoverOrBuilder(int index)
Optional: only failover or distribute can be set.
|
List<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder> |
getFailoverOrBuilderList()
Optional: only failover or distribute can be set.
|
boolean |
hasEnabled()
enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety.
|
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;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;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;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;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;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;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;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;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;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;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;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;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;Copyright © 2018–2023 Alibaba Group. All rights reserved.