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