Package io.envoyproxy.envoy.api.v2
Enum Cluster.LbConfigCase
- java.lang.Object
-
- java.lang.Enum<Cluster.LbConfigCase>
-
- io.envoyproxy.envoy.api.v2.Cluster.LbConfigCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Cluster.LbConfigCase>
- Enclosing class:
- Cluster
public static enum Cluster.LbConfigCase extends Enum<Cluster.LbConfigCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LBCONFIG_NOT_SET
LEAST_REQUEST_LB_CONFIG
ORIGINAL_DST_LB_CONFIG
RING_HASH_LB_CONFIG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Cluster.LbConfigCase
forNumber(int value)
int
getNumber()
static Cluster.LbConfigCase
valueOf(int value)
Deprecated.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.
-
-
-
Enum Constant Detail
-
RING_HASH_LB_CONFIG
public static final Cluster.LbConfigCase RING_HASH_LB_CONFIG
-
ORIGINAL_DST_LB_CONFIG
public static final Cluster.LbConfigCase ORIGINAL_DST_LB_CONFIG
-
LEAST_REQUEST_LB_CONFIG
public static final Cluster.LbConfigCase LEAST_REQUEST_LB_CONFIG
-
LBCONFIG_NOT_SET
public static final Cluster.LbConfigCase LBCONFIG_NOT_SET
-
-
Method Detail
-
values
public static Cluster.LbConfigCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cluster.LbConfigCase c : Cluster.LbConfigCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cluster.LbConfigCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static Cluster.LbConfigCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Cluster.LbConfigCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-