public static enum RangeRequest.SortTarget extends Enum<RangeRequest.SortTarget> implements com.google.protobuf.ProtocolMessageEnum
etcdserverpb.RangeRequest.SortTarget| Enum Constant and Description |
|---|
CREATE
CREATE = 2; |
KEY
KEY = 0; |
MOD
MOD = 3; |
UNRECOGNIZED |
VALUE
VALUE = 4; |
VERSION
VERSION = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_VALUE
CREATE = 2; |
static int |
KEY_VALUE
KEY = 0; |
static int |
MOD_VALUE
MOD = 3; |
static int |
VALUE_VALUE
VALUE = 4; |
static int |
VERSION_VALUE
VERSION = 1; |
| Modifier and Type | Method and Description |
|---|---|
static RangeRequest.SortTarget |
forNumber(int value) |
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<RangeRequest.SortTarget> |
internalGetValueMap() |
static RangeRequest.SortTarget |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RangeRequest.SortTarget |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RangeRequest.SortTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeRequest.SortTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeRequest.SortTarget KEY
KEY = 0;public static final RangeRequest.SortTarget VERSION
VERSION = 1;public static final RangeRequest.SortTarget CREATE
CREATE = 2;public static final RangeRequest.SortTarget MOD
MOD = 3;public static final RangeRequest.SortTarget VALUE
VALUE = 4;public static final RangeRequest.SortTarget UNRECOGNIZED
public static final int KEY_VALUE
KEY = 0;public static final int VERSION_VALUE
VERSION = 1;public static final int CREATE_VALUE
CREATE = 2;public static final int MOD_VALUE
MOD = 3;public static final int VALUE_VALUE
VALUE = 4;public static RangeRequest.SortTarget[] values()
for (RangeRequest.SortTarget c : RangeRequest.SortTarget.values()) System.out.println(c);
public static RangeRequest.SortTarget 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RangeRequest.SortTarget valueOf(int value)
forNumber(int) instead.public static RangeRequest.SortTarget forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RangeRequest.SortTarget> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RangeRequest.SortTarget valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.