Class Cluster.CommonLbConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.CommonLbConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cluster.CommonLbConfigOrBuilder
,Serializable
- Enclosing class:
- Cluster
public static final class Cluster.CommonLbConfig extends com.google.protobuf.GeneratedMessageV3 implements Cluster.CommonLbConfigOrBuilder
Common configuration for all load balancer implementations. [#next-free-field: 9]
Protobuf typeenvoy.config.cluster.v3.Cluster.CommonLbConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cluster.CommonLbConfig.Builder
Common configuration for all load balancer implementations.static class
Cluster.CommonLbConfig.ConsistentHashingLbConfig
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)static interface
Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
static class
Cluster.CommonLbConfig.LocalityConfigSpecifierCase
static class
Cluster.CommonLbConfig.LocalityWeightedLbConfig
Configuration for :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>`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
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBER
static int
CONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBER
static int
HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
static int
IGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBER
static int
LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
static int
OVERRIDE_HOST_STATUS_FIELD_NUMBER
static int
UPDATE_MERGE_WINDOW_FIELD_NUMBER
static int
ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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.ConsistentHashingLbConfigOrBuilder
getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)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>`.boolean
getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.LocalityConfigSpecifierCase
getLocalityConfigSpecifierCase()
Cluster.CommonLbConfig.LocalityWeightedLbConfig
getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder
getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
HealthStatusSet
getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.HealthStatusSetOrBuilder
getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.com.google.protobuf.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.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder
getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)int
hashCode()
boolean
hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
boolean
hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.boolean
hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.boolean
hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
protected com.google.protobuf.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)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
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(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 Cluster.CommonLbConfig
parseFrom(ByteBuffer data)
static Cluster.CommonLbConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Cluster.CommonLbConfig>
parser()
Cluster.CommonLbConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
public static final int HEALTHY_PANIC_THRESHOLD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
public static final int ZONE_AWARE_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
public static final int LOCALITY_WEIGHTED_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_MERGE_WINDOW_FIELD_NUMBER
public static final int UPDATE_MERGE_WINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBER
public static final int IGNORE_NEW_HOSTS_UNTIL_FIRST_HC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBER
public static final int CLOSE_CONNECTIONS_ON_HOST_SET_CHANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBER
public static final int CONSISTENT_HASHING_LB_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_HOST_STATUS_FIELD_NUMBER
public static final int OVERRIDE_HOST_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getLocalityConfigSpecifierCase
public Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
- Specified by:
getLocalityConfigSpecifierCase
in interfaceCluster.CommonLbConfigOrBuilder
-
hasHealthyPanicThreshold
public boolean hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
hasHealthyPanicThreshold
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the healthyPanicThreshold field is set.
-
getHealthyPanicThreshold
public Percent getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
getHealthyPanicThreshold
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The healthyPanicThreshold.
-
getHealthyPanicThresholdOrBuilder
public PercentOrBuilder getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Specified by:
getHealthyPanicThresholdOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
hasZoneAwareLbConfig
public boolean hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
hasZoneAwareLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the zoneAwareLbConfig field is set.
-
getZoneAwareLbConfig
public Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
getZoneAwareLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The zoneAwareLbConfig.
-
getZoneAwareLbConfigOrBuilder
public Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Specified by:
getZoneAwareLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
hasLocalityWeightedLbConfig
public boolean hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
hasLocalityWeightedLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the localityWeightedLbConfig field is set.
-
getLocalityWeightedLbConfig
public Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
getLocalityWeightedLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The localityWeightedLbConfig.
-
getLocalityWeightedLbConfigOrBuilder
public Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Specified by:
getLocalityWeightedLbConfigOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
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.
-
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
-
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.
-
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.
-
hasConsistentHashingLbConfig
public boolean hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Specified by:
hasConsistentHashingLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the consistentHashingLbConfig field is set.
-
getConsistentHashingLbConfig
public Cluster.CommonLbConfig.ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Specified by:
getConsistentHashingLbConfig
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The consistentHashingLbConfig.
-
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
-
hasOverrideHostStatus
public boolean hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
hasOverrideHostStatus
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- Whether the overrideHostStatus field is set.
-
getOverrideHostStatus
public HealthStatusSet getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
getOverrideHostStatus
in interfaceCluster.CommonLbConfigOrBuilder
- Returns:
- The overrideHostStatus.
-
getOverrideHostStatusOrBuilder
public HealthStatusSetOrBuilder getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Specified by:
getOverrideHostStatusOrBuilder
in interfaceCluster.CommonLbConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Cluster.CommonLbConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Cluster.CommonLbConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Cluster.CommonLbConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Cluster.CommonLbConfig.Builder newBuilder()
-
newBuilder
public static Cluster.CommonLbConfig.Builder newBuilder(Cluster.CommonLbConfig prototype)
-
toBuilder
public Cluster.CommonLbConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cluster.CommonLbConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Cluster.CommonLbConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Cluster.CommonLbConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<Cluster.CommonLbConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Cluster.CommonLbConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-