public static enum HookOuterClass.Hook.DeletePolicy extends Enum<HookOuterClass.Hook.DeletePolicy> implements ProtocolMessageEnum
hapi.release.Hook.DeletePolicy| Enum Constant and Description |
|---|
FAILED
FAILED = 1; |
SUCCEEDED
SUCCEEDED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
FAILED = 1; |
static int |
SUCCEEDED_VALUE
SUCCEEDED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HookOuterClass.Hook.DeletePolicy |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<HookOuterClass.Hook.DeletePolicy> |
internalGetValueMap() |
static HookOuterClass.Hook.DeletePolicy |
valueOf(Descriptors.EnumValueDescriptor desc) |
static HookOuterClass.Hook.DeletePolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HookOuterClass.Hook.DeletePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HookOuterClass.Hook.DeletePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HookOuterClass.Hook.DeletePolicy SUCCEEDED
SUCCEEDED = 0;public static final HookOuterClass.Hook.DeletePolicy FAILED
FAILED = 1;public static final HookOuterClass.Hook.DeletePolicy UNRECOGNIZED
public static final int SUCCEEDED_VALUE
SUCCEEDED = 0;public static final int FAILED_VALUE
FAILED = 1;public static HookOuterClass.Hook.DeletePolicy[] values()
for (HookOuterClass.Hook.DeletePolicy c : HookOuterClass.Hook.DeletePolicy.values()) System.out.println(c);
public static HookOuterClass.Hook.DeletePolicy 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 nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static HookOuterClass.Hook.DeletePolicy valueOf(int value)
forNumber(int) instead.public static HookOuterClass.Hook.DeletePolicy forNumber(int value)
public static Internal.EnumLiteMap<HookOuterClass.Hook.DeletePolicy> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static HookOuterClass.Hook.DeletePolicy valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.