public static enum WALProtos.RegionEventDescriptor.EventType extends Enum<WALProtos.RegionEventDescriptor.EventType> implements com.google.protobuf.ProtocolMessageEnum
RegionEventDescriptor.EventType
Enum Constant and Description |
---|
REGION_CLOSE
REGION_CLOSE = 1; |
REGION_OPEN
REGION_OPEN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
REGION_CLOSE_VALUE
REGION_CLOSE = 1; |
static int |
REGION_OPEN_VALUE
REGION_OPEN = 0; |
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<WALProtos.RegionEventDescriptor.EventType> |
internalGetValueMap() |
static WALProtos.RegionEventDescriptor.EventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WALProtos.RegionEventDescriptor.EventType |
valueOf(int value) |
static WALProtos.RegionEventDescriptor.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WALProtos.RegionEventDescriptor.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WALProtos.RegionEventDescriptor.EventType REGION_OPEN
REGION_OPEN = 0;
public static final WALProtos.RegionEventDescriptor.EventType REGION_CLOSE
REGION_CLOSE = 1;
public static final int REGION_OPEN_VALUE
REGION_OPEN = 0;
public static final int REGION_CLOSE_VALUE
REGION_CLOSE = 1;
public static WALProtos.RegionEventDescriptor.EventType[] values()
for (WALProtos.RegionEventDescriptor.EventType c : WALProtos.RegionEventDescriptor.EventType.values()) System.out.println(c);
public static WALProtos.RegionEventDescriptor.EventType 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 WALProtos.RegionEventDescriptor.EventType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<WALProtos.RegionEventDescriptor.EventType> 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 WALProtos.RegionEventDescriptor.EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.