public static final class Cds.Cluster.CommonLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cds.Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations.Protobuf type
envoy.api.v2.Cluster.CommonLbConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Cds.Cluster.CommonLbConfig.Builder
Common configuration for all load balancer implementations.
|
static class |
Cds.Cluster.CommonLbConfig.LocalityConfigSpecifierCase |
static class |
Cds.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 |
Cds.Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder |
static class |
Cds.Cluster.CommonLbConfig.ZoneAwareLbConfig
Configuration for :ref:`zone aware routing
<arch_overview_load_balancing_zone_aware_routing>`.
|
static interface |
Cds.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 Cds.Cluster.CommonLbConfig |
getDefaultInstance() |
Cds.Cluster.CommonLbConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PercentOuterClass.Percent |
getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
PercentOuterClass.PercentOrBuilder |
getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
|
Cds.Cluster.CommonLbConfig.LocalityConfigSpecifierCase |
getLocalityConfigSpecifierCase() |
Cds.Cluster.CommonLbConfig.LocalityWeightedLbConfig |
getLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
Cds.Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder |
getLocalityWeightedLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3; |
com.google.protobuf.Parser<Cds.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.
|
Cds.Cluster.CommonLbConfig.ZoneAwareLbConfig |
getZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2; |
Cds.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 Cds.Cluster.CommonLbConfig.Builder |
newBuilder() |
static Cds.Cluster.CommonLbConfig.Builder |
newBuilder(Cds.Cluster.CommonLbConfig prototype) |
Cds.Cluster.CommonLbConfig.Builder |
newBuilderForType() |
protected Cds.Cluster.CommonLbConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Cds.Cluster.CommonLbConfig |
parseDelimitedFrom(InputStream input) |
static Cds.Cluster.CommonLbConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cds.Cluster.CommonLbConfig |
parseFrom(byte[] data) |
static Cds.Cluster.CommonLbConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cds.Cluster.CommonLbConfig |
parseFrom(ByteBuffer data) |
static Cds.Cluster.CommonLbConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cds.Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Cds.Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cds.Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cds.Cluster.CommonLbConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cds.Cluster.CommonLbConfig |
parseFrom(InputStream input) |
static Cds.Cluster.CommonLbConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cds.Cluster.CommonLbConfig> |
parser() |
Cds.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 Cds.Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
getLocalityConfigSpecifierCase in interface Cds.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 Cds.Cluster.CommonLbConfigOrBuilderpublic PercentOuterClass.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 Cds.Cluster.CommonLbConfigOrBuilderpublic PercentOuterClass.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 Cds.Cluster.CommonLbConfigOrBuilderpublic boolean hasZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;hasZoneAwareLbConfig in interface Cds.Cluster.CommonLbConfigOrBuilderpublic Cds.Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;getZoneAwareLbConfig in interface Cds.Cluster.CommonLbConfigOrBuilderpublic Cds.Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;getZoneAwareLbConfigOrBuilder in interface Cds.Cluster.CommonLbConfigOrBuilderpublic boolean hasLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;hasLocalityWeightedLbConfig in interface Cds.Cluster.CommonLbConfigOrBuilderpublic Cds.Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;getLocalityWeightedLbConfig in interface Cds.Cluster.CommonLbConfigOrBuilderpublic Cds.Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;getLocalityWeightedLbConfigOrBuilder in interface Cds.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. By default, this is not configured and updates apply immediately. Also, the first set of updates to be seen apply immediately as well (e.g.: a new cluster). 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 Cds.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. By default, this is not configured and updates apply immediately. Also, the first set of updates to be seen apply immediately as well (e.g.: a new cluster). 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 Cds.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. By default, this is not configured and updates apply immediately. Also, the first set of updates to be seen apply immediately as well (e.g.: a new cluster). 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 Cds.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 Cds.Cluster.CommonLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cds.Cluster.CommonLbConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cds.Cluster.CommonLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cds.Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cds.Cluster.CommonLbConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cds.Cluster.CommonLbConfig.Builder newBuilder()
public static Cds.Cluster.CommonLbConfig.Builder newBuilder(Cds.Cluster.CommonLbConfig prototype)
public Cds.Cluster.CommonLbConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cds.Cluster.CommonLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cds.Cluster.CommonLbConfig getDefaultInstance()
public static com.google.protobuf.Parser<Cds.Cluster.CommonLbConfig> parser()
public com.google.protobuf.Parser<Cds.Cluster.CommonLbConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cds.Cluster.CommonLbConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.