类 DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
- istio.networking.v1alpha3.DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder,java.lang.Cloneable
public static final class DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder> implements DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder
Locality-weighted load balancing allows administrators to control the distribution of traffic to endpoints based on the localities of where the traffic originates and where it will terminate. These localities are specified using arbitrary labels that designate a hierarchy of localities in {region}/{zone}/{sub-zone} form. For additional detail refer to [Locality Weight](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) The following example shows how to setup locality weights mesh-wide. Given a mesh with workloads and their service deployed to "us-west/zone1/*" and "us-west/zone2/*". This example specifies that when traffic accessing a service originates from workloads in "us-west/zone1/*", 80% of the traffic will be sent to endpoints in "us-west/zone1/*", i.e the same zone, and the remaining 20% will go to endpoints in "us-west/zone2/*". This setup is intended to favor routing traffic to endpoints in the same locality. A similar setting is specified for traffic originating in "us-west/zone2/*". ```yaml distribute: - from: us-west/zone1/* to: "us-west/zone1/*": 80 "us-west/zone2/*": 20 - from: us-west/zone2/* to: "us-west/zone1/*": 20 "us-west/zone2/*": 80 ``` If the goal of the operator is not to distribute load across zones and regions but rather to restrict the regionality of failover to meet other operational requirements an operator can set a 'failover' policy instead of a 'distribute' policy. The following example sets up a locality failover policy for regions. Assume a service resides in zones within us-east, us-west & eu-west this example specifies that when endpoints within us-east become unhealthy traffic should failover to endpoints in any zone or sub-zone within eu-west and similarly us-west should failover to us-east. ```yaml failover: - from: us-east to: eu-west - from: us-west to: us-east ``` Locality load balancing settings.Protobuf typeistio.networking.v1alpha3.LocalityLoadBalancerSetting
-
-
字段概要
-
方法概要
-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
distribute_
private java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute> distribute_
-
distributeBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute,DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder,DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder> distributeBuilder_
-
failover_
private java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover> failover_
-
failoverBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover,DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder,DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder> failoverBuilder_
-
enabled_
private com.google.protobuf.BoolValue enabled_
-
enabledBuilder_
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> enabledBuilder_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
clear
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
getDefaultInstanceForType
public DestinationRuleOuterClass.LocalityLoadBalancerSetting getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public DestinationRuleOuterClass.LocalityLoadBalancerSetting build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public DestinationRuleOuterClass.LocalityLoadBalancerSetting buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(DestinationRuleOuterClass.LocalityLoadBalancerSetting result)
-
buildPartial0
private void buildPartial0(DestinationRuleOuterClass.LocalityLoadBalancerSetting result)
-
clone
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
setField
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
clearField
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
clearOneof
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
setRepeatedField
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
addRepeatedField
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
mergeFrom
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
mergeFrom
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder mergeFrom(DestinationRuleOuterClass.LocalityLoadBalancerSetting other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
mergeFrom
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>- 抛出:
java.io.IOException
-
ensureDistributeIsMutable
private void ensureDistributeIsMutable()
-
getDistributeList
public 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;
-
getDistributeCount
public 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;
-
getDistribute
public 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;
-
setDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setDistribute(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute value)
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;
-
setDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setDistribute(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder builderForValue)
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;
-
addDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addDistribute(DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute value)
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;
-
addDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addDistribute(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute value)
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;
-
addDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addDistribute(DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder builderForValue)
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;
-
addDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addDistribute(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder builderForValue)
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;
-
addAllDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addAllDistribute(java.lang.Iterable<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute> values)
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;
-
clearDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clearDistribute()
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;
-
removeDistribute
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder removeDistribute(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;
-
getDistributeBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder getDistributeBuilder(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;
-
getDistributeOrBuilder
public 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;
-
getDistributeOrBuilderList
public 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;
-
addDistributeBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder addDistributeBuilder()
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;
-
addDistributeBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder addDistributeBuilder(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;
-
getDistributeBuilderList
public java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder> getDistributeBuilderList()
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;
-
getDistributeFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute,DestinationRuleOuterClass.LocalityLoadBalancerSetting.Distribute.Builder,DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder> getDistributeFieldBuilder()
-
ensureFailoverIsMutable
private void ensureFailoverIsMutable()
-
getFailoverList
public 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;
-
getFailoverCount
public 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;
-
getFailover
public 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;
-
setFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setFailover(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover value)
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;
-
setFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setFailover(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder builderForValue)
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;
-
addFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addFailover(DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover value)
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;
-
addFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addFailover(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover value)
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;
-
addFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addFailover(DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder builderForValue)
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;
-
addFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addFailover(int index, DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder builderForValue)
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;
-
addAllFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder addAllFailover(java.lang.Iterable<? extends DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover> values)
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;
-
clearFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clearFailover()
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;
-
removeFailover
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder removeFailover(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;
-
getFailoverBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder getFailoverBuilder(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;
-
getFailoverOrBuilder
public 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;
-
getFailoverOrBuilderList
public 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;
-
addFailoverBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder addFailoverBuilder()
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;
-
addFailoverBuilder
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder addFailoverBuilder(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;
-
getFailoverBuilderList
public java.util.List<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder> getFailoverBuilderList()
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;
-
getFailoverFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover,DestinationRuleOuterClass.LocalityLoadBalancerSetting.Failover.Builder,DestinationRuleOuterClass.LocalityLoadBalancerSetting.FailoverOrBuilder> getFailoverFieldBuilder()
-
hasEnabled
public 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;- 指定者:
hasEnabled在接口中DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder- 返回:
- Whether the enabled field is set.
-
getEnabled
public 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;- 指定者:
getEnabled在接口中DestinationRuleOuterClass.LocalityLoadBalancerSettingOrBuilder- 返回:
- The enabled.
-
setEnabled
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setEnabled(com.google.protobuf.BoolValue value)
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;
-
setEnabled
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
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;
-
mergeEnabled
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder mergeEnabled(com.google.protobuf.BoolValue value)
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;
-
clearEnabled
public DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder clearEnabled()
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;
-
getEnabledBuilder
public com.google.protobuf.BoolValue.Builder getEnabledBuilder()
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;
-
getEnabledOrBuilder
public 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;
-
getEnabledFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getEnabledFieldBuilder()
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;
-
setUnknownFields
public final DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
mergeUnknownFields
public final DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<DestinationRuleOuterClass.LocalityLoadBalancerSetting.Builder>
-
-