public static final class Cluster.CommonLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations.Protobuf type
envoy.api.v2.Cluster.CommonLbConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.CommonLbConfig.Builder
Common configuration for all load balancer implementations.
|
static class |
Cluster.CommonLbConfig.LocalityConfigSpecifierCase |
static class |
Cluster.CommonLbConfig.LocalityWeightedLbConfig
Configuration for :ref:`locality weighted load balancing
<arch_overview_load_balancing_locality_weighted_lb>`
Protobuf type
envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig |
static interface |
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder |
static class |
Cluster.CommonLbConfig.ZoneAwareLbConfig
Configuration for :ref:`zone aware routing
<arch_overview_load_balancing_zone_aware_routing>`.
|
static interface |
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER |
static int |
LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER |
static int |
UPDATE_MERGE_WINDOW_FIELD_NUMBER |
static int |
ZONE_AWARE_LB_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Cluster.CommonLbConfig |
getDefaultInstance() |
Cluster.CommonLbConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Percent |
getHealthyPanicThreshold()
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>`.
|
Cluster.CommonLbConfig.LocalityConfigSpecifierCase |
getLocalityConfigSpecifierCase() |
Cluster.CommonLbConfig.LocalityWeightedLbConfig |
getLocalityWeightedLbConfig()
.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.Parser<Cluster.CommonLbConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.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.ZoneAwareLbConfigOrBuilder |
getZoneAwareLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
int |
hashCode() |
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() |
static Cluster.CommonLbConfig.Builder |
newBuilder() |
static Cluster.CommonLbConfig.Builder |
newBuilder(Cluster.CommonLbConfig prototype) |
Cluster.CommonLbConfig.Builder |
newBuilderForType() |
protected Cluster.CommonLbConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Cluster.CommonLbConfig |
parseDelimitedFrom(InputStream input) |
static Cluster.CommonLbConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig |
parseFrom(byte[] data) |
static Cluster.CommonLbConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig |
parseFrom(ByteBuffer data) |
static Cluster.CommonLbConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster.CommonLbConfig |
parseFrom(InputStream input) |
static Cluster.CommonLbConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster.CommonLbConfig> |
parser() |
Cluster.CommonLbConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
public static final int ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
public static final int LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
public static final int UPDATE_MERGE_WINDOW_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
getLocalityConfigSpecifierCase in interface Cluster.CommonLbConfigOrBuilderpublic boolean hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. .. 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%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.Percent healthy_panic_threshold = 1;getHealthyPanicThreshold in interface Cluster.CommonLbConfigOrBuilderpublic PercentOrBuilder getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. .. 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.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.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). 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). 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 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). 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Cluster.CommonLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster.CommonLbConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.CommonLbConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.CommonLbConfig.Builder newBuilder()
public static Cluster.CommonLbConfig.Builder newBuilder(Cluster.CommonLbConfig prototype)
public Cluster.CommonLbConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.CommonLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster.CommonLbConfig getDefaultInstance()
public static com.google.protobuf.Parser<Cluster.CommonLbConfig> parser()
public com.google.protobuf.Parser<Cluster.CommonLbConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster.CommonLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2019 The Envoy Project. All rights reserved.