public static enum RiakDtPB.MapField.MapFieldType extends Enum<RiakDtPB.MapField.MapFieldType> implements com.google.protobuf.ProtocolMessageEnum
MapField.MapFieldType
The types that can be stored in a map are limited to counters, sets, registers, flags, and maps.
| Enum Constant and Description |
|---|
COUNTER
COUNTER = 1; |
FLAG
FLAG = 4; |
MAP
MAP = 5; |
REGISTER
REGISTER = 3; |
SET
SET = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
COUNTER_VALUE
COUNTER = 1; |
static int |
FLAG_VALUE
FLAG = 4; |
static int |
MAP_VALUE
MAP = 5; |
static int |
REGISTER_VALUE
REGISTER = 3; |
static int |
SET_VALUE
SET = 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<RiakDtPB.MapField.MapFieldType> |
internalGetValueMap() |
static RiakDtPB.MapField.MapFieldType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RiakDtPB.MapField.MapFieldType |
valueOf(int value) |
static RiakDtPB.MapField.MapFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RiakDtPB.MapField.MapFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiakDtPB.MapField.MapFieldType COUNTER
COUNTER = 1;public static final RiakDtPB.MapField.MapFieldType SET
SET = 2;public static final RiakDtPB.MapField.MapFieldType REGISTER
REGISTER = 3;public static final RiakDtPB.MapField.MapFieldType FLAG
FLAG = 4;public static final RiakDtPB.MapField.MapFieldType MAP
MAP = 5;public static final int COUNTER_VALUE
COUNTER = 1;public static final int SET_VALUE
SET = 2;public static final int REGISTER_VALUE
REGISTER = 3;public static final int FLAG_VALUE
FLAG = 4;public static final int MAP_VALUE
MAP = 5;public static RiakDtPB.MapField.MapFieldType[] values()
for (RiakDtPB.MapField.MapFieldType c : RiakDtPB.MapField.MapFieldType.values()) System.out.println(c);
public static RiakDtPB.MapField.MapFieldType 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.ProtocolMessageEnumpublic static RiakDtPB.MapField.MapFieldType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RiakDtPB.MapField.MapFieldType> 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 RiakDtPB.MapField.MapFieldType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016. All rights reserved.