public static enum Cluster.LbConfigCase extends Enum<Cluster.LbConfigCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
LBCONFIG_NOT_SET |
LEAST_REQUEST_LB_CONFIG |
ORIGINAL_DST_LB_CONFIG |
RING_HASH_LB_CONFIG |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.LbConfigCase |
forNumber(int value) |
int |
getNumber() |
static Cluster.LbConfigCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.LbConfigCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.LbConfigCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.LbConfigCase RING_HASH_LB_CONFIG
public static final Cluster.LbConfigCase ORIGINAL_DST_LB_CONFIG
public static final Cluster.LbConfigCase LEAST_REQUEST_LB_CONFIG
public static final Cluster.LbConfigCase LBCONFIG_NOT_SET
public static Cluster.LbConfigCase[] values()
for (Cluster.LbConfigCase c : Cluster.LbConfigCase.values()) System.out.println(c);
public static Cluster.LbConfigCase 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 null@Deprecated public static Cluster.LbConfigCase valueOf(int value)
forNumber(int) instead.public static Cluster.LbConfigCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.