public static enum Cluster.LbSubsetConfig.LbSubsetFallbackPolicy extends Enum<Cluster.LbSubsetConfig.LbSubsetFallbackPolicy> implements com.google.protobuf.ProtocolMessageEnum
If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported. If ANY_ENDPOINT is selected, any cluster endpoint may be returned (subject to policy, health checks, etc). If DEFAULT_SUBSET is selected, load balancing is performed over the endpoints matching the values from the default_subset field.Protobuf enum
envoy.config.cluster.v4alpha.Cluster.LbSubsetConfig.LbSubsetFallbackPolicy| Enum Constant and Description |
|---|
ANY_ENDPOINT
ANY_ENDPOINT = 1; |
DEFAULT_SUBSET
DEFAULT_SUBSET = 2; |
NO_FALLBACK
NO_FALLBACK = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_ENDPOINT_VALUE
ANY_ENDPOINT = 1; |
static int |
DEFAULT_SUBSET_VALUE
DEFAULT_SUBSET = 2; |
static int |
NO_FALLBACK_VALUE
NO_FALLBACK = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Cluster.LbSubsetConfig.LbSubsetFallbackPolicy> |
internalGetValueMap() |
static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.LbSubsetConfig.LbSubsetFallbackPolicy NO_FALLBACK
NO_FALLBACK = 0;public static final Cluster.LbSubsetConfig.LbSubsetFallbackPolicy ANY_ENDPOINT
ANY_ENDPOINT = 1;public static final Cluster.LbSubsetConfig.LbSubsetFallbackPolicy DEFAULT_SUBSET
DEFAULT_SUBSET = 2;public static final Cluster.LbSubsetConfig.LbSubsetFallbackPolicy UNRECOGNIZED
public static final int NO_FALLBACK_VALUE
NO_FALLBACK = 0;public static final int ANY_ENDPOINT_VALUE
ANY_ENDPOINT = 1;public static final int DEFAULT_SUBSET_VALUE
DEFAULT_SUBSET = 2;public static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy[] values()
for (Cluster.LbSubsetConfig.LbSubsetFallbackPolicy c : Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.values()) System.out.println(c);
public static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy valueOf(int value)
forNumber(int) instead.public static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.LbSubsetConfig.LbSubsetFallbackPolicy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cluster.LbSubsetConfig.LbSubsetFallbackPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.