Package eu.antidotedb.antidotepb
Enum AntidotePB.CRDT_type
- java.lang.Object
-
- java.lang.Enum<AntidotePB.CRDT_type>
-
- eu.antidotedb.antidotepb.AntidotePB.CRDT_type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AntidotePB.CRDT_type>
- Enclosing class:
- AntidotePB
public static enum AntidotePB.CRDT_type extends java.lang.Enum<AntidotePB.CRDT_type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumCRDT_type
-
-
Field Summary
Fields Modifier and Type Field Description static intCOUNTER_VALUECOUNTER = 3;static intFATCOUNTER_VALUEFATCOUNTER = 12;static intFLAG_DW_VALUEFLAG_DW = 14;static intFLAG_EW_VALUEFLAG_EW = 13;static intGMAP_VALUEGMAP = 8;static intLWWREG_VALUELWWREG = 5;static intMVREG_VALUEMVREG = 6;static intORSET_VALUEORSET = 4;static intRRMAP_VALUERRMAP = 11;static intRWSET_VALUERWSET = 10;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AntidotePB.CRDT_typeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AntidotePB.CRDT_type>internalGetValueMap()static AntidotePB.CRDT_typevalueOf(int value)Deprecated.static AntidotePB.CRDT_typevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AntidotePB.CRDT_typevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AntidotePB.CRDT_type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNTER
public static final AntidotePB.CRDT_type COUNTER
COUNTER = 3;
-
ORSET
public static final AntidotePB.CRDT_type ORSET
ORSET = 4;
-
LWWREG
public static final AntidotePB.CRDT_type LWWREG
LWWREG = 5;
-
MVREG
public static final AntidotePB.CRDT_type MVREG
MVREG = 6;
-
GMAP
public static final AntidotePB.CRDT_type GMAP
GMAP = 8;
-
RWSET
public static final AntidotePB.CRDT_type RWSET
RWSET = 10;
-
RRMAP
public static final AntidotePB.CRDT_type RRMAP
RRMAP = 11;
-
FATCOUNTER
public static final AntidotePB.CRDT_type FATCOUNTER
FATCOUNTER = 12;
-
FLAG_EW
public static final AntidotePB.CRDT_type FLAG_EW
FLAG_EW = 13;
-
FLAG_DW
public static final AntidotePB.CRDT_type FLAG_DW
FLAG_DW = 14;
-
-
Field Detail
-
COUNTER_VALUE
public static final int COUNTER_VALUE
COUNTER = 3;- See Also:
- Constant Field Values
-
ORSET_VALUE
public static final int ORSET_VALUE
ORSET = 4;- See Also:
- Constant Field Values
-
LWWREG_VALUE
public static final int LWWREG_VALUE
LWWREG = 5;- See Also:
- Constant Field Values
-
MVREG_VALUE
public static final int MVREG_VALUE
MVREG = 6;- See Also:
- Constant Field Values
-
GMAP_VALUE
public static final int GMAP_VALUE
GMAP = 8;- See Also:
- Constant Field Values
-
RWSET_VALUE
public static final int RWSET_VALUE
RWSET = 10;- See Also:
- Constant Field Values
-
RRMAP_VALUE
public static final int RRMAP_VALUE
RRMAP = 11;- See Also:
- Constant Field Values
-
FATCOUNTER_VALUE
public static final int FATCOUNTER_VALUE
FATCOUNTER = 12;- See Also:
- Constant Field Values
-
FLAG_EW_VALUE
public static final int FLAG_EW_VALUE
FLAG_EW = 13;- See Also:
- Constant Field Values
-
FLAG_DW_VALUE
public static final int FLAG_DW_VALUE
FLAG_DW = 14;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AntidotePB.CRDT_type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AntidotePB.CRDT_type c : AntidotePB.CRDT_type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AntidotePB.CRDT_type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AntidotePB.CRDT_type valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AntidotePB.CRDT_type forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AntidotePB.CRDT_type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AntidotePB.CRDT_type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-