Class Cluster.CommonLbConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.CommonLbConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cluster.CommonLbConfigOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Cluster.CommonLbConfig
public static final class Cluster.CommonLbConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder> implements Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations. [#next-free-field: 9]
Protobuf typeenvoy.config.cluster.v3.Cluster.CommonLbConfig
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster.CommonLbConfig
build()
Cluster.CommonLbConfig
buildPartial()
private void
buildPartial0(Cluster.CommonLbConfig result)
private void
buildPartialOneofs(Cluster.CommonLbConfig result)
Cluster.CommonLbConfig.Builder
clear()
Cluster.CommonLbConfig.Builder
clearCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Cluster.CommonLbConfig.Builder
clearConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.Builder
clearHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Cluster.CommonLbConfig.Builder
clearIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.Builder
clearLocalityConfigSpecifier()
Cluster.CommonLbConfig.Builder
clearLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.Builder
clearOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.Cluster.CommonLbConfig.Builder
clearUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.Builder
clearZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
getCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Cluster.CommonLbConfig.ConsistentHashingLbConfig
getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder
getConsistentHashingLbConfigBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder,Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder>
getConsistentHashingLbConfigFieldBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Percent
getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Percent.Builder
getHealthyPanicThresholdBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder>
getHealthyPanicThresholdFieldBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.PercentOrBuilder
getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.LocalityConfigSpecifierCase
getLocalityConfigSpecifierCase()
Cluster.CommonLbConfig.LocalityWeightedLbConfig
getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder
getLocalityWeightedLbConfigBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.LocalityWeightedLbConfig,Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder,Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder>
getLocalityWeightedLbConfigFieldBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder
getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
HealthStatusSet
getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.HealthStatusSet.Builder
getOverrideHostStatusBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.private com.google.protobuf.SingleFieldBuilder<HealthStatusSet,HealthStatusSet.Builder,HealthStatusSetOrBuilder>
getOverrideHostStatusFieldBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.HealthStatusSetOrBuilder
getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.com.google.protobuf.Duration
getUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.com.google.protobuf.Duration.Builder
getUpdateMergeWindowBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
getUpdateMergeWindowFieldBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.com.google.protobuf.DurationOrBuilder
getUpdateMergeWindowOrBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.ZoneAwareLbConfig
getZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder
getZoneAwareLbConfigBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ZoneAwareLbConfig,Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder,Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder>
getZoneAwareLbConfigFieldBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder
getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)boolean
hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
boolean
hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.boolean
hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.boolean
hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Cluster.CommonLbConfig.Builder
mergeConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Cluster.CommonLbConfig.Builder
mergeFrom(com.google.protobuf.Message other)
Cluster.CommonLbConfig.Builder
mergeFrom(Cluster.CommonLbConfig other)
Cluster.CommonLbConfig.Builder
mergeHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Cluster.CommonLbConfig.Builder
mergeLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.Builder
mergeOverrideHostStatus(HealthStatusSet value)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.Cluster.CommonLbConfig.Builder
mergeUpdateMergeWindow(com.google.protobuf.Duration value)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.Builder
mergeZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.Builder
setCloseConnectionsOnHostSetChange(boolean value)
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Cluster.CommonLbConfig.Builder
setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.Builder
setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder builderForValue)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.Builder
setHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Cluster.CommonLbConfig.Builder
setHealthyPanicThreshold(Percent.Builder builderForValue)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Cluster.CommonLbConfig.Builder
setIgnoreNewHostsUntilFirstHc(boolean value)
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.Builder
setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.Builder
setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder builderForValue)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.Builder
setOverrideHostStatus(HealthStatusSet value)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.Cluster.CommonLbConfig.Builder
setOverrideHostStatus(HealthStatusSet.Builder builderForValue)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.Cluster.CommonLbConfig.Builder
setUpdateMergeWindow(com.google.protobuf.Duration value)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.Builder
setUpdateMergeWindow(com.google.protobuf.Duration.Builder builderForValue)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.Builder
setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.Builder
setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder builderForValue)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
localityConfigSpecifierCase_
private int localityConfigSpecifierCase_
-
localityConfigSpecifier_
private java.lang.Object localityConfigSpecifier_
-
bitField0_
private int bitField0_
-
healthyPanicThreshold_
private Percent healthyPanicThreshold_
-
healthyPanicThresholdBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> healthyPanicThresholdBuilder_
-
zoneAwareLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ZoneAwareLbConfig,Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder,Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> zoneAwareLbConfigBuilder_
-
localityWeightedLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.LocalityWeightedLbConfig,Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder,Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> localityWeightedLbConfigBuilder_
-
updateMergeWindow_
private com.google.protobuf.Duration updateMergeWindow_
-
updateMergeWindowBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> updateMergeWindowBuilder_
-
ignoreNewHostsUntilFirstHc_
private boolean ignoreNewHostsUntilFirstHc_
-
closeConnectionsOnHostSetChange_
private boolean closeConnectionsOnHostSetChange_
-
consistentHashingLbConfig_
private Cluster.CommonLbConfig.ConsistentHashingLbConfig consistentHashingLbConfig_
-
consistentHashingLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder,Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> consistentHashingLbConfigBuilder_
-
overrideHostStatus_
private HealthStatusSet overrideHostStatus_
-
overrideHostStatusBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthStatusSet,HealthStatusSet.Builder,HealthStatusSetOrBuilder> overrideHostStatusBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Cluster.CommonLbConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder>
-
getDefaultInstanceForType
public Cluster.CommonLbConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster.CommonLbConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster.CommonLbConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Cluster.CommonLbConfig result)
-
buildPartialOneofs
private void buildPartialOneofs(Cluster.CommonLbConfig result)
-
mergeFrom
public Cluster.CommonLbConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>
-
mergeFrom
public Cluster.CommonLbConfig.Builder mergeFrom(Cluster.CommonLbConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Cluster.CommonLbConfig.Builder>
-
mergeFrom
public Cluster.CommonLbConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>
- Throws:
java.io.IOException
-
getLocalityConfigSpecifierCase
public Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
- Specified by:
getLocalityConfigSpecifierCase
in interfaceCluster.CommonLbConfigOrBuilder
-
clearLocalityConfigSpecifier
public Cluster.CommonLbConfig.Builder clearLocalityConfigSpecifier()
-
hasHealthyPanicThreshold
public boolean hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
hasHealthyPanicThreshold
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the healthyPanicThreshold field is set.
-
getHealthyPanicThreshold
public Percent getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
getHealthyPanicThreshold
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The healthyPanicThreshold.
-
setHealthyPanicThreshold
public Cluster.CommonLbConfig.Builder setHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
setHealthyPanicThreshold
public Cluster.CommonLbConfig.Builder setHealthyPanicThreshold(Percent.Builder builderForValue)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
mergeHealthyPanicThreshold
public Cluster.CommonLbConfig.Builder mergeHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
clearHealthyPanicThreshold
public Cluster.CommonLbConfig.Builder clearHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
getHealthyPanicThresholdBuilder
public Percent.Builder getHealthyPanicThresholdBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
getHealthyPanicThresholdOrBuilder
public PercentOrBuilder getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
getHealthyPanicThresholdOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getHealthyPanicThresholdFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder,PercentOrBuilder> getHealthyPanicThresholdFieldBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
hasZoneAwareLbConfig
public boolean hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
hasZoneAwareLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the zoneAwareLbConfig field is set.
-
getZoneAwareLbConfig
public Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
getZoneAwareLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The zoneAwareLbConfig.
-
setZoneAwareLbConfig
public Cluster.CommonLbConfig.Builder setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
setZoneAwareLbConfig
public Cluster.CommonLbConfig.Builder setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder builderForValue)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
mergeZoneAwareLbConfig
public Cluster.CommonLbConfig.Builder mergeZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
clearZoneAwareLbConfig
public Cluster.CommonLbConfig.Builder clearZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
getZoneAwareLbConfigBuilder
public Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder getZoneAwareLbConfigBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
getZoneAwareLbConfigOrBuilder
public Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
getZoneAwareLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getZoneAwareLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ZoneAwareLbConfig,Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder,Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> getZoneAwareLbConfigFieldBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
hasLocalityWeightedLbConfig
public boolean hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
hasLocalityWeightedLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the localityWeightedLbConfig field is set.
-
getLocalityWeightedLbConfig
public Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
getLocalityWeightedLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The localityWeightedLbConfig.
-
setLocalityWeightedLbConfig
public Cluster.CommonLbConfig.Builder setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
setLocalityWeightedLbConfig
public Cluster.CommonLbConfig.Builder setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder builderForValue)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
mergeLocalityWeightedLbConfig
public Cluster.CommonLbConfig.Builder mergeLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
clearLocalityWeightedLbConfig
public Cluster.CommonLbConfig.Builder clearLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
getLocalityWeightedLbConfigBuilder
public Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder getLocalityWeightedLbConfigBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
getLocalityWeightedLbConfigOrBuilder
public Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
getLocalityWeightedLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getLocalityWeightedLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.LocalityWeightedLbConfig,Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder,Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> getLocalityWeightedLbConfigFieldBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
hasUpdateMergeWindow
public boolean hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
- Specified by:
hasUpdateMergeWindow
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the updateMergeWindow field is set.
-
getUpdateMergeWindow
public com.google.protobuf.Duration getUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
- Specified by:
getUpdateMergeWindow
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The updateMergeWindow.
-
setUpdateMergeWindow
public Cluster.CommonLbConfig.Builder setUpdateMergeWindow(com.google.protobuf.Duration value)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
setUpdateMergeWindow
public Cluster.CommonLbConfig.Builder setUpdateMergeWindow(com.google.protobuf.Duration.Builder builderForValue)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
mergeUpdateMergeWindow
public Cluster.CommonLbConfig.Builder mergeUpdateMergeWindow(com.google.protobuf.Duration value)
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
clearUpdateMergeWindow
public Cluster.CommonLbConfig.Builder clearUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
getUpdateMergeWindowBuilder
public com.google.protobuf.Duration.Builder getUpdateMergeWindowBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
getUpdateMergeWindowOrBuilder
public com.google.protobuf.DurationOrBuilder getUpdateMergeWindowOrBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
- Specified by:
getUpdateMergeWindowOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getUpdateMergeWindowFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getUpdateMergeWindowFieldBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
getIgnoreNewHostsUntilFirstHc
public boolean getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time. This will have no effect unless active health checking is also configured.
bool ignore_new_hosts_until_first_hc = 5;
- Specified by:
getIgnoreNewHostsUntilFirstHc
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The ignoreNewHostsUntilFirstHc.
-
setIgnoreNewHostsUntilFirstHc
public Cluster.CommonLbConfig.Builder setIgnoreNewHostsUntilFirstHc(boolean value)
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time. This will have no effect unless active health checking is also configured.
bool ignore_new_hosts_until_first_hc = 5;
- Parameters:
value
- The ignoreNewHostsUntilFirstHc to set.- Returns:
- This builder for chaining.
-
clearIgnoreNewHostsUntilFirstHc
public Cluster.CommonLbConfig.Builder clearIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time. This will have no effect unless active health checking is also configured.
bool ignore_new_hosts_until_first_hc = 5;
- Returns:
- This builder for chaining.
-
getCloseConnectionsOnHostSetChange
public boolean getCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.
bool close_connections_on_host_set_change = 6;
- Specified by:
getCloseConnectionsOnHostSetChange
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The closeConnectionsOnHostSetChange.
-
setCloseConnectionsOnHostSetChange
public Cluster.CommonLbConfig.Builder setCloseConnectionsOnHostSetChange(boolean value)
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.
bool close_connections_on_host_set_change = 6;
- Parameters:
value
- The closeConnectionsOnHostSetChange to set.- Returns:
- This builder for chaining.
-
clearCloseConnectionsOnHostSetChange
public Cluster.CommonLbConfig.Builder clearCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.
bool close_connections_on_host_set_change = 6;
- Returns:
- This builder for chaining.
-
hasConsistentHashingLbConfig
public boolean hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Specified by:
hasConsistentHashingLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the consistentHashingLbConfig field is set.
-
getConsistentHashingLbConfig
public Cluster.CommonLbConfig.ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Specified by:
getConsistentHashingLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The consistentHashingLbConfig.
-
setConsistentHashingLbConfig
public Cluster.CommonLbConfig.Builder setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
setConsistentHashingLbConfig
public Cluster.CommonLbConfig.Builder setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder builderForValue)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
mergeConsistentHashingLbConfig
public Cluster.CommonLbConfig.Builder mergeConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
clearConsistentHashingLbConfig
public Cluster.CommonLbConfig.Builder clearConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
getConsistentHashingLbConfigBuilder
public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder getConsistentHashingLbConfigBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
getConsistentHashingLbConfigOrBuilder
public Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Specified by:
getConsistentHashingLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getConsistentHashingLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder,Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> getConsistentHashingLbConfigFieldBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
hasOverrideHostStatus
public boolean hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
hasOverrideHostStatus
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the overrideHostStatus field is set.
-
getOverrideHostStatus
public HealthStatusSet getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
getOverrideHostStatus
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The overrideHostStatus.
-
setOverrideHostStatus
public Cluster.CommonLbConfig.Builder setOverrideHostStatus(HealthStatusSet value)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
setOverrideHostStatus
public Cluster.CommonLbConfig.Builder setOverrideHostStatus(HealthStatusSet.Builder builderForValue)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
mergeOverrideHostStatus
public Cluster.CommonLbConfig.Builder mergeOverrideHostStatus(HealthStatusSet value)
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
clearOverrideHostStatus
public Cluster.CommonLbConfig.Builder clearOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
getOverrideHostStatusBuilder
public HealthStatusSet.Builder getOverrideHostStatusBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
getOverrideHostStatusOrBuilder
public HealthStatusSetOrBuilder getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
getOverrideHostStatusOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
getOverrideHostStatusFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthStatusSet,HealthStatusSet.Builder,HealthStatusSetOrBuilder> getOverrideHostStatusFieldBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
-