public static enum Ola.PatchAction extends Enum<Ola.PatchAction> implements com.google.protobuf.ProtocolMessageEnum
ola.proto.PatchAction
Enum Constant and Description |
---|
PATCH
PATCH = 1; |
UNPATCH
UNPATCH = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
PATCH_VALUE
PATCH = 1; |
static int |
UNPATCH_VALUE
UNPATCH = 2; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Ola.PatchAction> |
internalGetValueMap() |
static Ola.PatchAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Ola.PatchAction |
valueOf(int value) |
static Ola.PatchAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ola.PatchAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ola.PatchAction PATCH
PATCH = 1;
public static final Ola.PatchAction UNPATCH
UNPATCH = 2;
public static final int PATCH_VALUE
PATCH = 1;
public static final int UNPATCH_VALUE
UNPATCH = 2;
public static Ola.PatchAction[] values()
for (Ola.PatchAction c : Ola.PatchAction.values()) System.out.println(c);
public static Ola.PatchAction 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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static Ola.PatchAction valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Ola.PatchAction> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Ola.PatchAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.