public static enum Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy extends Enum<Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy> implements com.google.protobuf.ProtocolMessageEnum
Allows to override top level fallback policy per selector.Protobuf enum
envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy
Enum Constant and Description |
---|
ANY_ENDPOINT
If ANY_ENDPOINT is selected, any cluster endpoint may be returned
(subject to policy, health checks, etc).
|
DEFAULT_SUBSET
If DEFAULT_SUBSET is selected, load balancing is performed over the
endpoints matching the values from the default_subset field.
|
KEYS_SUBSET
If KEYS_SUBSET is selected, subset selector matching is performed again with metadata
keys reduced to
:ref:`fallback_keys_subset<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.fallback_keys_subset>`.
|
NO_FALLBACK
If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
|
NOT_DEFINED
If NOT_DEFINED top level config fallback policy is used instead.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ANY_ENDPOINT_VALUE
If ANY_ENDPOINT is selected, any cluster endpoint may be returned
(subject to policy, health checks, etc).
|
static int |
DEFAULT_SUBSET_VALUE
If DEFAULT_SUBSET is selected, load balancing is performed over the
endpoints matching the values from the default_subset field.
|
static int |
KEYS_SUBSET_VALUE
If KEYS_SUBSET is selected, subset selector matching is performed again with metadata
keys reduced to
:ref:`fallback_keys_subset<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.fallback_keys_subset>`.
|
static int |
NO_FALLBACK_VALUE
If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
|
static int |
NOT_DEFINED_VALUE
If NOT_DEFINED top level config fallback policy is used instead.
|
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy NOT_DEFINED
If NOT_DEFINED top level config fallback policy is used instead.
NOT_DEFINED = 0;
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy NO_FALLBACK
If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
NO_FALLBACK = 1;
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy ANY_ENDPOINT
If ANY_ENDPOINT is selected, any cluster endpoint may be returned (subject to policy, health checks, etc).
ANY_ENDPOINT = 2;
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy DEFAULT_SUBSET
If DEFAULT_SUBSET is selected, load balancing is performed over the endpoints matching the values from the default_subset field.
DEFAULT_SUBSET = 3;
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy KEYS_SUBSET
If KEYS_SUBSET is selected, subset selector matching is performed again with metadata keys reduced to :ref:`fallback_keys_subset<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.fallback_keys_subset>`. It allows for a fallback to a different, less specific selector if some of the keys of the selector are considered optional.
KEYS_SUBSET = 4;
public static final Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy UNRECOGNIZED
public static final int NOT_DEFINED_VALUE
If NOT_DEFINED top level config fallback policy is used instead.
NOT_DEFINED = 0;
public static final int NO_FALLBACK_VALUE
If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
NO_FALLBACK = 1;
public static final int ANY_ENDPOINT_VALUE
If ANY_ENDPOINT is selected, any cluster endpoint may be returned (subject to policy, health checks, etc).
ANY_ENDPOINT = 2;
public static final int DEFAULT_SUBSET_VALUE
If DEFAULT_SUBSET is selected, load balancing is performed over the endpoints matching the values from the default_subset field.
DEFAULT_SUBSET = 3;
public static final int KEYS_SUBSET_VALUE
If KEYS_SUBSET is selected, subset selector matching is performed again with metadata keys reduced to :ref:`fallback_keys_subset<envoy_api_field_Cluster.LbSubsetConfig.LbSubsetSelector.fallback_keys_subset>`. It allows for a fallback to a different, less specific selector if some of the keys of the selector are considered optional.
KEYS_SUBSET = 4;
public static Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy[] values()
for (Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy c : Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.values()) System.out.println(c);
public static Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy valueOf(int value)
forNumber(int)
instead.public static Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.