public static enum Rollout.StrategyCase extends java.lang.Enum<Rollout.StrategyCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DELETE_SERVICE_STRATEGY |
STRATEGY_NOT_SET |
TRAFFIC_PERCENT_STRATEGY |
| Modifier and Type | Method and Description |
|---|---|
static Rollout.StrategyCase |
forNumber(int value) |
int |
getNumber() |
static Rollout.StrategyCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Rollout.StrategyCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rollout.StrategyCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rollout.StrategyCase TRAFFIC_PERCENT_STRATEGY
public static final Rollout.StrategyCase DELETE_SERVICE_STRATEGY
public static final Rollout.StrategyCase STRATEGY_NOT_SET
public static Rollout.StrategyCase[] values()
for (Rollout.StrategyCase c : Rollout.StrategyCase.values()) System.out.println(c);
public static Rollout.StrategyCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static Rollout.StrategyCase valueOf(int value)
forNumber(int) instead.public static Rollout.StrategyCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite