public static enum Policy.PolicyTypeCase extends Enum<Policy.PolicyTypeCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
BOOLEAN_POLICY |
LIST_POLICY |
POLICYTYPE_NOT_SET |
RESTORE_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static Policy.PolicyTypeCase |
forNumber(int value) |
int |
getNumber() |
static Policy.PolicyTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Policy.PolicyTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Policy.PolicyTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Policy.PolicyTypeCase LIST_POLICY
public static final Policy.PolicyTypeCase BOOLEAN_POLICY
public static final Policy.PolicyTypeCase RESTORE_DEFAULT
public static final Policy.PolicyTypeCase POLICYTYPE_NOT_SET
public static Policy.PolicyTypeCase[] values()
for (Policy.PolicyTypeCase c : Policy.PolicyTypeCase.values()) System.out.println(c);
public static Policy.PolicyTypeCase 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 Policy.PolicyTypeCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Policy.PolicyTypeCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLiteCopyright © 2021 Google LLC. All rights reserved.