Class Cluster.CommonLbConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>
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
,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 type
envoy.config.cluster.v3.Cluster.CommonLbConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private boolean
private com.google.protobuf.SingleFieldBuilder
<Cluster.CommonLbConfig.ConsistentHashingLbConfig, Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder, Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> private Percent
private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> private boolean
private Object
private int
private com.google.protobuf.SingleFieldBuilder
<Cluster.CommonLbConfig.LocalityWeightedLbConfig, Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder, Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> private HealthStatusSet
private com.google.protobuf.SingleFieldBuilder
<HealthStatusSet, HealthStatusSet.Builder, HealthStatusSetOrBuilder> private com.google.protobuf.Duration
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> private com.google.protobuf.SingleFieldBuilder
<Cluster.CommonLbConfig.ZoneAwareLbConfig, Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder, Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Cluster.CommonLbConfig result) private void
clear()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.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..envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
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 set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires..envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
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..envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
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.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.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
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
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
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..envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)boolean
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
boolean
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
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
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
private com.google.protobuf.SingleFieldBuilder
<Cluster.CommonLbConfig.ConsistentHashingLbConfig, Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder, Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<Percent, Percent.Builder, PercentOrBuilder> Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.private com.google.protobuf.SingleFieldBuilder
<Cluster.CommonLbConfig.LocalityWeightedLbConfig, Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder, Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> .envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
private com.google.protobuf.SingleFieldBuilder
<HealthStatusSet, HealthStatusSet.Builder, HealthStatusSetOrBuilder> 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
<com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 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
<Cluster.CommonLbConfig.ZoneAwareLbConfig, Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder, Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> .envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
final boolean
private void
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Cluster.CommonLbConfig other) Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`..envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
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.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..envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
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.Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)setConsistentHashingLbConfig
(Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder builderForValue) Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)setHealthyPanicThreshold
(Percent value) Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.setHealthyPanicThreshold
(Percent.Builder builderForValue) Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.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..envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
setLocalityWeightedLbConfig
(Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder builderForValue) .envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
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.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.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.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..envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
localityConfigSpecifierCase_
private int localityConfigSpecifierCase_ -
localityConfigSpecifier_
-
bitField0_
private int bitField0_ -
healthyPanicThreshold_
-
healthyPanicThresholdBuilder_
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, healthyPanicThresholdBuilder_PercentOrBuilder> -
zoneAwareLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ZoneAwareLbConfig,Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder, zoneAwareLbConfigBuilder_Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> -
localityWeightedLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.LocalityWeightedLbConfig,Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder, localityWeightedLbConfigBuilder_Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> -
updateMergeWindow_
private com.google.protobuf.Duration updateMergeWindow_ -
updateMergeWindowBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, updateMergeWindowBuilder_com.google.protobuf.DurationOrBuilder> -
ignoreNewHostsUntilFirstHc_
private boolean ignoreNewHostsUntilFirstHc_ -
closeConnectionsOnHostSetChange_
private boolean closeConnectionsOnHostSetChange_ -
consistentHashingLbConfig_
-
consistentHashingLbConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder, consistentHashingLbConfigBuilder_Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> -
overrideHostStatus_
-
overrideHostStatusBuilder_
private com.google.protobuf.SingleFieldBuilder<HealthStatusSet,HealthStatusSet.Builder, overrideHostStatusBuilder_HealthStatusSetOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>
-
mergeFrom
-
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 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:
IOException
-
getLocalityConfigSpecifierCase
- Specified by:
getLocalityConfigSpecifierCase
in interfaceCluster.CommonLbConfigOrBuilder
-
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
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
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
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
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
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
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
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
-
internalGetHealthyPanicThresholdFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Percent,Percent.Builder, internalGetHealthyPanicThresholdFieldBuilder()PercentOrBuilder> 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
.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
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
getZoneAwareLbConfigBuilder
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
getZoneAwareLbConfigOrBuilder
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
getZoneAwareLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
internalGetZoneAwareLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ZoneAwareLbConfig,Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder, internalGetZoneAwareLbConfigFieldBuilder()Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder> .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
.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
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
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
-
internalGetLocalityWeightedLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.LocalityWeightedLbConfig,Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder, internalGetLocalityWeightedLbConfigFieldBuilder()Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder> .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
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
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
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
-
internalGetUpdateMergeWindowFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder, internalGetUpdateMergeWindowFieldBuilder()com.google.protobuf.DurationOrBuilder> 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
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
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
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
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
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
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
-
internalGetConsistentHashingLbConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Cluster.CommonLbConfig.ConsistentHashingLbConfig,Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder, internalGetConsistentHashingLbConfigFieldBuilder()Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder> 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
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
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
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
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
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
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
-
internalGetOverrideHostStatusFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HealthStatusSet,HealthStatusSet.Builder, internalGetOverrideHostStatusFieldBuilder()HealthStatusSetOrBuilder> 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;
-