Enum Transactions.Flags
- java.lang.Object
-
- java.lang.Enum<Transactions.Flags>
-
- cz.o2.proxima.scheme.proto.transactions.Transactions.Flags
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Transactions.Flags>
- Enclosing class:
- Transactions
public static enum Transactions.Flags extends java.lang.Enum<Transactions.Flags> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcz.o2.proxima.scheme.proto.transactions.Flags
-
-
Field Summary
Fields Modifier and Type Field Description static intABORTED_VALUEABORTED = 3;static intCOMMITTED_VALUECOMMITTED = 2;static intDUPLICATE_VALUEDUPLICATE = 4;static intOPEN_VALUEOPEN = 1;static intROLLBACK_VALUEROLLBACK = 6;static intUNKNOWN_VALUEUNKNOWN = 0;static intUPDATE_VALUEUPDATE = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Transactions.FlagsforNumber(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<Transactions.Flags>internalGetValueMap()static Transactions.FlagsvalueOf(int value)Deprecated.static Transactions.FlagsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Transactions.FlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Transactions.Flags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Transactions.Flags UNKNOWN
UNKNOWN = 0;
-
OPEN
public static final Transactions.Flags OPEN
OPEN = 1;
-
COMMITTED
public static final Transactions.Flags COMMITTED
COMMITTED = 2;
-
ABORTED
public static final Transactions.Flags ABORTED
ABORTED = 3;
-
DUPLICATE
public static final Transactions.Flags DUPLICATE
DUPLICATE = 4;
-
UPDATE
public static final Transactions.Flags UPDATE
UPDATE = 5;
-
ROLLBACK
public static final Transactions.Flags ROLLBACK
ROLLBACK = 6;
-
UNRECOGNIZED
public static final Transactions.Flags UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
OPEN_VALUE
public static final int OPEN_VALUE
OPEN = 1;- See Also:
- Constant Field Values
-
COMMITTED_VALUE
public static final int COMMITTED_VALUE
COMMITTED = 2;- See Also:
- Constant Field Values
-
ABORTED_VALUE
public static final int ABORTED_VALUE
ABORTED = 3;- See Also:
- Constant Field Values
-
DUPLICATE_VALUE
public static final int DUPLICATE_VALUE
DUPLICATE = 4;- See Also:
- Constant Field Values
-
UPDATE_VALUE
public static final int UPDATE_VALUE
UPDATE = 5;- See Also:
- Constant Field Values
-
ROLLBACK_VALUE
public static final int ROLLBACK_VALUE
ROLLBACK = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Transactions.Flags[] 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 (Transactions.Flags c : Transactions.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transactions.Flags 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 Transactions.Flags 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 Transactions.Flags forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Transactions.Flags> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Transactions.Flags 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
-
-