public static final class Cluster.CommonLbConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder> implements Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations. [#next-free-field: 8]Protobuf type
envoy.api.v2.Cluster.CommonLbConfig| Modifier and Type | Method and Description |
|---|---|
Cluster.CommonLbConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.CommonLbConfig |
build() |
Cluster.CommonLbConfig |
buildPartial() |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 not consider 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.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
Cluster.CommonLbConfig.Builder |
clone() |
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.)
|
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>`.
|
PercentOrBuilder |
getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
boolean |
getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will not consider 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.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder |
getLocalityWeightedLbConfigBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder |
getLocalityWeightedLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
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.
|
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.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder |
getZoneAwareLbConfigBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder |
getZoneAwareLbConfigOrBuilder()
.envoy.api.v2.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.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
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.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cluster.CommonLbConfig.Builder |
mergeConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
|
Cluster.CommonLbConfig.Builder |
mergeFrom(Cluster.CommonLbConfig other) |
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 |
mergeHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
Cluster.CommonLbConfig.Builder |
mergeLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.api.v2.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.Builder builderForValue)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
|
Cluster.CommonLbConfig.Builder |
setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
|
Cluster.CommonLbConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.CommonLbConfig.Builder |
setHealthyPanicThreshold(Percent.Builder builderForValue)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
Cluster.CommonLbConfig.Builder |
setHealthyPanicThreshold(Percent value)
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
Cluster.CommonLbConfig.Builder |
setIgnoreNewHostsUntilFirstHc(boolean value)
If set to true, Envoy will not consider new hosts when computing load balancing weights until
they have been health checked for the first time.
|
Cluster.CommonLbConfig.Builder |
setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder builderForValue)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.Builder |
setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cluster.CommonLbConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cluster.CommonLbConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
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 |
setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder builderForValue)
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
Cluster.CommonLbConfig.Builder |
setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cluster.CommonLbConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cluster.CommonLbConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cluster.CommonLbConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder mergeFrom(Cluster.CommonLbConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public Cluster.CommonLbConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.CommonLbConfig.Builder>IOExceptionpublic Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
getLocalityConfigSpecifierCase in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.Builder clearLocalityConfigSpecifier()
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.Percent healthy_panic_threshold = 1;hasHealthyPanicThreshold in interface Cluster.CommonLbConfigOrBuilderpublic 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.Percent healthy_panic_threshold = 1;getHealthyPanicThreshold in interface Cluster.CommonLbConfigOrBuilderpublic 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.Percent healthy_panic_threshold = 1;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.Percent healthy_panic_threshold = 1;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.Percent healthy_panic_threshold = 1;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.Percent healthy_panic_threshold = 1;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.Percent healthy_panic_threshold = 1;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.Percent healthy_panic_threshold = 1;getHealthyPanicThresholdOrBuilder in interface Cluster.CommonLbConfigOrBuilderpublic boolean hasZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;hasZoneAwareLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;getZoneAwareLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.Builder setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;public Cluster.CommonLbConfig.Builder setZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder builderForValue)
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;public Cluster.CommonLbConfig.Builder mergeZoneAwareLbConfig(Cluster.CommonLbConfig.ZoneAwareLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;public Cluster.CommonLbConfig.Builder clearZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;public Cluster.CommonLbConfig.ZoneAwareLbConfig.Builder getZoneAwareLbConfigBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;public Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;getZoneAwareLbConfigOrBuilder in interface Cluster.CommonLbConfigOrBuilderpublic boolean hasLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;hasLocalityWeightedLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;getLocalityWeightedLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.Builder setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;public Cluster.CommonLbConfig.Builder setLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder builderForValue)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;public Cluster.CommonLbConfig.Builder mergeLocalityWeightedLbConfig(Cluster.CommonLbConfig.LocalityWeightedLbConfig value)
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;public Cluster.CommonLbConfig.Builder clearLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;public Cluster.CommonLbConfig.LocalityWeightedLbConfig.Builder getLocalityWeightedLbConfigBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;public Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;getLocalityWeightedLbConfigOrBuilder in interface Cluster.CommonLbConfigOrBuilderpublic 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;hasUpdateMergeWindow in interface Cluster.CommonLbConfigOrBuilderpublic 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;getUpdateMergeWindow in interface Cluster.CommonLbConfigOrBuilderpublic 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;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;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;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;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;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;getUpdateMergeWindowOrBuilder in interface Cluster.CommonLbConfigOrBuilderpublic boolean getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will not consider 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.
Ignoring a host means that for any load balancing calculations that adjust weights based
on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and
panic mode) Envoy will exclude these hosts in the denominator.
For example, with hosts in two priorities P0 and P1, where P0 looks like
{healthy, unhealthy (new), unhealthy (new)}
and where P1 looks like
{healthy, healthy}
all traffic will still hit P0, as 1 / (3 - 2) = 1.
Enabling this will allow scaling up the number of hosts for a given cluster without entering
panic mode or triggering priority spillover, assuming the hosts pass the first health check.
If panic mode is triggered, new hosts are still eligible for traffic; they simply do not
contribute to the calculation when deciding whether panic mode is enabled or not.
bool ignore_new_hosts_until_first_hc = 5;getIgnoreNewHostsUntilFirstHc in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.Builder setIgnoreNewHostsUntilFirstHc(boolean value)
If set to true, Envoy will not consider 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.
Ignoring a host means that for any load balancing calculations that adjust weights based
on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and
panic mode) Envoy will exclude these hosts in the denominator.
For example, with hosts in two priorities P0 and P1, where P0 looks like
{healthy, unhealthy (new), unhealthy (new)}
and where P1 looks like
{healthy, healthy}
all traffic will still hit P0, as 1 / (3 - 2) = 1.
Enabling this will allow scaling up the number of hosts for a given cluster without entering
panic mode or triggering priority spillover, assuming the hosts pass the first health check.
If panic mode is triggered, new hosts are still eligible for traffic; they simply do not
contribute to the calculation when deciding whether panic mode is enabled or not.
bool ignore_new_hosts_until_first_hc = 5;public Cluster.CommonLbConfig.Builder clearIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will not consider 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.
Ignoring a host means that for any load balancing calculations that adjust weights based
on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and
panic mode) Envoy will exclude these hosts in the denominator.
For example, with hosts in two priorities P0 and P1, where P0 looks like
{healthy, unhealthy (new), unhealthy (new)}
and where P1 looks like
{healthy, healthy}
all traffic will still hit P0, as 1 / (3 - 2) = 1.
Enabling this will allow scaling up the number of hosts for a given cluster without entering
panic mode or triggering priority spillover, assuming the hosts pass the first health check.
If panic mode is triggered, new hosts are still eligible for traffic; they simply do not
contribute to the calculation when deciding whether panic mode is enabled or not.
bool ignore_new_hosts_until_first_hc = 5;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;getCloseConnectionsOnHostSetChange in interface Cluster.CommonLbConfigOrBuilderpublic 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;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;public boolean hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;hasConsistentHashingLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;getConsistentHashingLbConfig in interface Cluster.CommonLbConfigOrBuilderpublic Cluster.CommonLbConfig.Builder setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;public Cluster.CommonLbConfig.Builder setConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder builderForValue)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;public Cluster.CommonLbConfig.Builder mergeConsistentHashingLbConfig(Cluster.CommonLbConfig.ConsistentHashingLbConfig value)
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;public Cluster.CommonLbConfig.Builder clearConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;public Cluster.CommonLbConfig.ConsistentHashingLbConfig.Builder getConsistentHashingLbConfigBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;public Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.api.v2.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;getConsistentHashingLbConfigOrBuilder in interface Cluster.CommonLbConfigOrBuilderpublic final Cluster.CommonLbConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>public final Cluster.CommonLbConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.CommonLbConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.